2 * FILE : src/gtk/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
62 #include <wx/fontenum.h>
63 #include <wx/tipdlg.h>
64 #include <wx/process.h>
65 #include <wx/joystick.h>
67 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
71 } else if (target
== Py_None
) {
75 if (!PyList_Check(target
)) {
77 target
= PyList_New(0);
78 PyList_Append(target
, o2
);
81 PyList_Append(target
,o
);
87 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
93 } else if (target
== Py_None
) {
97 if (!PyTuple_Check(target
)) {
99 target
= PyTuple_New(1);
100 PyTuple_SetItem(target
, 0, o2
);
103 PyTuple_SetItem(o3
, 0, o
);
106 target
= PySequence_Concat(o2
, o3
);
113 static char* wxStringErrorMsg
= "string type is required for parameter";
115 static wxString
wxPyEmptyStr("");
118 wxColour
wxSystemSettings_GetSystemColour(int index
) {
119 return wxSystemSettings::GetSystemColour(index
);
122 wxFont
wxSystemSettings_GetSystemFont(int index
) {
123 return wxSystemSettings::GetSystemFont(index
);
126 int wxSystemSettings_GetSystemMetric(int index
) {
127 return wxSystemSettings::GetSystemMetric(index
);
130 void wxToolTip_Enable(bool flag
) {
131 wxToolTip::Enable(flag
);
134 void wxToolTip_SetDelay(long milliseconds
) {
135 wxToolTip::SetDelay(milliseconds
);
138 int wxCaret_GetBlinkTime() {
139 return wxCaret::GetBlinkTime();
142 void wxCaret_SetBlinkTime(int milliseconds
) {
143 wxCaret::SetBlinkTime(milliseconds
);
146 class wxPyFontEnumerator
: public wxFontEnumerator
{
148 wxPyFontEnumerator() {}
149 ~wxPyFontEnumerator() {}
151 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
152 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
157 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
158 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
161 class wxPyTipProvider
: public wxTipProvider
{
163 wxPyTipProvider(size_t currentTip
)
164 : wxTipProvider(currentTip
) {}
166 DEC_PYCALLBACK_STRING__pure(GetTip
);
171 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
174 #include <wx/generic/dragimgg.h>
175 static wxPoint wxPyNullPoint
;
178 wxGenericDragImage
* wxDragIcon(const wxIcon
& image
,
179 const wxCursor
& cursor
,
180 const wxPoint
& hotspot
) {
181 return new wxGenericDragImage(image
, cursor
, hotspot
);
184 wxGenericDragImage
* wxDragString(const wxString
& str
,
185 const wxCursor
& cursor
,
186 const wxPoint
& hotspot
) {
187 return new wxGenericDragImage(str
, cursor
, hotspot
);
190 wxGenericDragImage
* wxDragTreeItem(const wxTreeCtrl
& treeCtrl
, wxTreeItemId
& id
) {
191 return new wxGenericDragImage(treeCtrl
, id
);
194 wxGenericDragImage
* wxDragListItem(const wxListCtrl
& listCtrl
, long id
) {
195 return new wxGenericDragImage(listCtrl
, id
);
198 // C++ version of wxProcess derived class
200 class wxPyProcess
: public wxProcess
{
202 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
203 : wxProcess(parent
, id
)
206 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
211 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
215 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
216 PyObject
* _resultobj
;
219 char * _arg1
= (char *) NULL
;
220 char * _arg2
= (char *) NULL
;
221 char * _arg3
= (char *) NULL
;
222 char * _arg4
= (char *) "*.*";
223 int _arg5
= (int ) 0;
224 wxWindow
* _arg6
= (wxWindow
*) NULL
;
225 int _arg7
= (int ) -1;
226 int _arg8
= (int ) -1;
227 PyObject
* _argo6
= 0;
228 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
234 if (_argo6
== Py_None
) { _arg6
= NULL
; }
235 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
241 wxPy_BEGIN_ALLOW_THREADS
;
242 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
244 wxPy_END_ALLOW_THREADS
;
246 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
254 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
255 PyObject
* _resultobj
;
258 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
259 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
260 wxWindow
* _arg3
= (wxWindow
*) NULL
;
261 int _arg4
= (int ) -1;
262 int _arg5
= (int ) -1;
263 bool _arg6
= (bool ) TRUE
;
264 PyObject
* _obj0
= 0;
265 PyObject
* _obj1
= 0;
266 PyObject
* _obj2
= 0;
267 PyObject
* _argo3
= 0;
268 int tempbool6
= (int) TRUE
;
269 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
275 #if PYTHON_API_VERSION >= 1009
276 char* tmpPtr
; int tmpSize
;
277 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
278 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
281 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
283 _arg0
= new wxString(tmpPtr
, tmpSize
);
285 if (!PyString_Check(_obj0
)) {
286 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
289 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
294 #if PYTHON_API_VERSION >= 1009
295 char* tmpPtr
; int tmpSize
;
296 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
297 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
300 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
302 _arg1
= new wxString(tmpPtr
, tmpSize
);
304 if (!PyString_Check(_obj1
)) {
305 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
308 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
313 #if PYTHON_API_VERSION >= 1009
314 char* tmpPtr
; int tmpSize
;
315 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
316 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
319 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
321 _arg2
= new wxString(tmpPtr
, tmpSize
);
323 if (!PyString_Check(_obj2
)) {
324 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
327 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
331 if (_argo3
== Py_None
) { _arg3
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
337 _arg6
= (bool ) tempbool6
;
339 wxPy_BEGIN_ALLOW_THREADS
;
340 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
342 wxPy_END_ALLOW_THREADS
;
344 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
364 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
365 PyObject
* _resultobj
;
368 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
369 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
370 wxWindow
* _arg3
= (wxWindow
*) NULL
;
371 PyObject
* _obj0
= 0;
372 PyObject
* _obj1
= 0;
373 PyObject
* _obj2
= 0;
374 PyObject
* _argo3
= 0;
375 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
381 #if PYTHON_API_VERSION >= 1009
382 char* tmpPtr
; int tmpSize
;
383 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
384 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
387 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
389 _arg0
= new wxString(tmpPtr
, tmpSize
);
391 if (!PyString_Check(_obj0
)) {
392 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
395 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
400 #if PYTHON_API_VERSION >= 1009
401 char* tmpPtr
; int tmpSize
;
402 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
403 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
406 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
408 _arg1
= new wxString(tmpPtr
, tmpSize
);
410 if (!PyString_Check(_obj1
)) {
411 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
414 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
419 #if PYTHON_API_VERSION >= 1009
420 char* tmpPtr
; int tmpSize
;
421 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
422 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
425 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
427 _arg2
= new wxString(tmpPtr
, tmpSize
);
429 if (!PyString_Check(_obj2
)) {
430 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
433 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
437 if (_argo3
== Py_None
) { _arg3
= NULL
; }
438 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
444 wxPy_BEGIN_ALLOW_THREADS
;
445 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
447 wxPy_END_ALLOW_THREADS
;
449 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
469 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
470 PyObject
* _resultobj
;
476 wxWindow
* _arg4
= (wxWindow
*) NULL
;
477 int _arg5
= (int ) -1;
478 int _arg6
= (int ) -1;
479 bool _arg7
= (bool ) TRUE
;
480 int _arg8
= (int ) 150;
481 int _arg9
= (int ) 200;
482 PyObject
* _obj0
= 0;
483 PyObject
* _obj1
= 0;
484 PyObject
* _obj3
= 0;
485 PyObject
* _argo4
= 0;
486 int tempbool7
= (int) TRUE
;
487 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
493 #if PYTHON_API_VERSION >= 1009
494 char* tmpPtr
; int tmpSize
;
495 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
496 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
499 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
501 _arg0
= new wxString(tmpPtr
, tmpSize
);
503 if (!PyString_Check(_obj0
)) {
504 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
507 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
511 #if PYTHON_API_VERSION >= 1009
512 char* tmpPtr
; int tmpSize
;
513 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
514 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
517 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
519 _arg1
= new wxString(tmpPtr
, tmpSize
);
521 if (!PyString_Check(_obj1
)) {
522 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
525 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
530 _arg3
= wxString_LIST_helper(_obj3
);
536 if (_argo4
== Py_None
) { _arg4
= NULL
; }
537 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
542 _arg7
= (bool ) tempbool7
;
545 _arg2
= PyList_Size(_obj3
);
552 wxPy_BEGIN_ALLOW_THREADS
;
553 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
555 wxPy_END_ALLOW_THREADS
;
557 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
576 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
577 PyObject
* _resultobj
;
583 wxWindow
* _arg4
= (wxWindow
*) NULL
;
584 int _arg5
= (int ) -1;
585 int _arg6
= (int ) -1;
586 bool _arg7
= (bool ) TRUE
;
587 int _arg8
= (int ) 150;
588 int _arg9
= (int ) 200;
589 PyObject
* _obj0
= 0;
590 PyObject
* _obj1
= 0;
591 PyObject
* _obj3
= 0;
592 PyObject
* _argo4
= 0;
593 int tempbool7
= (int) TRUE
;
594 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
600 #if PYTHON_API_VERSION >= 1009
601 char* tmpPtr
; int tmpSize
;
602 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
603 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
606 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
608 _arg0
= new wxString(tmpPtr
, tmpSize
);
610 if (!PyString_Check(_obj0
)) {
611 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
614 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
618 #if PYTHON_API_VERSION >= 1009
619 char* tmpPtr
; int tmpSize
;
620 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
621 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
624 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
626 _arg1
= new wxString(tmpPtr
, tmpSize
);
628 if (!PyString_Check(_obj1
)) {
629 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
632 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
637 _arg3
= wxString_LIST_helper(_obj3
);
643 if (_argo4
== Py_None
) { _arg4
= NULL
; }
644 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
649 _arg7
= (bool ) tempbool7
;
652 _arg2
= PyList_Size(_obj3
);
659 wxPy_BEGIN_ALLOW_THREADS
;
660 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
662 wxPy_END_ALLOW_THREADS
;
663 } _resultobj
= Py_BuildValue("i",_result
);
678 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 PyObject
* _resultobj
;
682 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
683 int _arg2
= (int ) wxOK
|wxCENTRE
;
684 wxWindow
* _arg3
= (wxWindow
*) NULL
;
685 int _arg4
= (int ) -1;
686 int _arg5
= (int ) -1;
687 PyObject
* _obj0
= 0;
688 PyObject
* _obj1
= 0;
689 PyObject
* _argo3
= 0;
690 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
696 #if PYTHON_API_VERSION >= 1009
697 char* tmpPtr
; int tmpSize
;
698 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
699 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
702 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
704 _arg0
= new wxString(tmpPtr
, tmpSize
);
706 if (!PyString_Check(_obj0
)) {
707 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
710 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
715 #if PYTHON_API_VERSION >= 1009
716 char* tmpPtr
; int tmpSize
;
717 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
718 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
721 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
723 _arg1
= new wxString(tmpPtr
, tmpSize
);
725 if (!PyString_Check(_obj1
)) {
726 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
729 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
733 if (_argo3
== Py_None
) { _arg3
= NULL
; }
734 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
740 wxPy_BEGIN_ALLOW_THREADS
;
741 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
743 wxPy_END_ALLOW_THREADS
;
744 } _resultobj
= Py_BuildValue("i",_result
);
756 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
763 long _arg4
= (long ) 0;
764 long _arg5
= (long ) 100;
765 wxWindow
* _arg6
= (wxWindow
*) NULL
;
766 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
767 PyObject
* _obj0
= 0;
768 PyObject
* _obj1
= 0;
769 PyObject
* _obj2
= 0;
770 PyObject
* _argo6
= 0;
772 PyObject
* _obj7
= 0;
773 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
779 #if PYTHON_API_VERSION >= 1009
780 char* tmpPtr
; int tmpSize
;
781 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
782 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
785 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
787 _arg0
= new wxString(tmpPtr
, tmpSize
);
789 if (!PyString_Check(_obj0
)) {
790 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
793 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
797 #if PYTHON_API_VERSION >= 1009
798 char* tmpPtr
; int tmpSize
;
799 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
800 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
803 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
805 _arg1
= new wxString(tmpPtr
, tmpSize
);
807 if (!PyString_Check(_obj1
)) {
808 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
811 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
815 #if PYTHON_API_VERSION >= 1009
816 char* tmpPtr
; int tmpSize
;
817 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
818 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
821 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
823 _arg2
= new wxString(tmpPtr
, tmpSize
);
825 if (!PyString_Check(_obj2
)) {
826 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
829 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
833 if (_argo6
== Py_None
) { _arg6
= NULL
; }
834 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
842 if (! wxPoint_helper(_obj7
, &_arg7
))
846 wxPy_BEGIN_ALLOW_THREADS
;
847 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
849 wxPy_END_ALLOW_THREADS
;
850 } _resultobj
= Py_BuildValue("l",_result
);
866 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
867 PyObject
* _resultobj
;
869 char *_kwnames
[] = { NULL
};
872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
875 wxPy_BEGIN_ALLOW_THREADS
;
876 _result
= (bool )wxColourDisplay();
878 wxPy_END_ALLOW_THREADS
;
879 } _resultobj
= Py_BuildValue("i",_result
);
883 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
884 PyObject
* _resultobj
;
886 char *_kwnames
[] = { NULL
};
889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
892 wxPy_BEGIN_ALLOW_THREADS
;
893 _result
= (int )wxDisplayDepth();
895 wxPy_END_ALLOW_THREADS
;
896 } _resultobj
= Py_BuildValue("i",_result
);
900 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 PyObject
* _resultobj
;
903 char *_kwnames
[] = { NULL
};
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
909 wxPy_BEGIN_ALLOW_THREADS
;
910 _result
= (int )wxGetDisplayDepth();
912 wxPy_END_ALLOW_THREADS
;
913 } _resultobj
= Py_BuildValue("i",_result
);
917 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
918 PyObject
* _resultobj
;
923 char *_kwnames
[] = { NULL
};
932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
935 wxPy_BEGIN_ALLOW_THREADS
;
936 wxDisplaySize(_arg0
,_arg1
);
938 wxPy_END_ALLOW_THREADS
;
939 } Py_INCREF(Py_None
);
940 _resultobj
= Py_None
;
943 o
= PyInt_FromLong((long) (*_arg0
));
944 _resultobj
= t_output_helper(_resultobj
, o
);
948 o
= PyInt_FromLong((long) (*_arg1
));
949 _resultobj
= t_output_helper(_resultobj
, o
);
954 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
957 char *_kwnames
[] = { NULL
};
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
964 wxPy_BEGIN_ALLOW_THREADS
;
965 _result
= new wxSize (wxGetDisplaySize());
967 wxPy_END_ALLOW_THREADS
;
968 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
969 _resultobj
= Py_BuildValue("s",_ptemp
);
973 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
976 PyObject
* _argo0
= 0;
977 char *_kwnames
[] = { "cursor", NULL
};
980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
990 wxPy_BEGIN_ALLOW_THREADS
;
993 wxPy_END_ALLOW_THREADS
;
994 } Py_INCREF(Py_None
);
995 _resultobj
= Py_None
;
999 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
* _resultobj
;
1003 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1004 PyObject
* _obj0
= 0;
1005 PyObject
* _argo1
= 0;
1006 char *_kwnames
[] = { "label","parent", NULL
};
1010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1013 #if PYTHON_API_VERSION >= 1009
1014 char* tmpPtr
; int tmpSize
;
1015 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1016 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1019 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1021 _arg0
= new wxString(tmpPtr
, tmpSize
);
1023 if (!PyString_Check(_obj0
)) {
1024 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1027 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1031 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1032 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1038 wxPy_BEGIN_ALLOW_THREADS
;
1039 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1041 wxPy_END_ALLOW_THREADS
;
1043 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1044 _resultobj
= Py_BuildValue("s",_ptemp
);
1047 _resultobj
= Py_None
;
1056 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1060 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1061 PyObject
* _obj0
= 0;
1062 PyObject
* _argo1
= 0;
1063 char *_kwnames
[] = { "name","parent", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1070 #if PYTHON_API_VERSION >= 1009
1071 char* tmpPtr
; int tmpSize
;
1072 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1073 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1076 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1078 _arg0
= new wxString(tmpPtr
, tmpSize
);
1080 if (!PyString_Check(_obj0
)) {
1081 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1084 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1088 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1089 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1095 wxPy_BEGIN_ALLOW_THREADS
;
1096 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1098 wxPy_END_ALLOW_THREADS
;
1100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1101 _resultobj
= Py_BuildValue("s",_ptemp
);
1104 _resultobj
= Py_None
;
1113 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1114 PyObject
* _resultobj
;
1115 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1116 PyObject
* _argo0
= 0;
1117 char *_kwnames
[] = { "cursor", NULL
};
1120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1130 wxPy_BEGIN_ALLOW_THREADS
;
1131 wxBeginBusyCursor(_arg0
);
1133 wxPy_END_ALLOW_THREADS
;
1134 } Py_INCREF(Py_None
);
1135 _resultobj
= Py_None
;
1139 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1140 PyObject
* _resultobj
;
1142 char *_kwnames
[] = { NULL
};
1146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1149 wxPy_BEGIN_ALLOW_THREADS
;
1150 _result
= (wxWindow
*)wxGetActiveWindow();
1152 wxPy_END_ALLOW_THREADS
;
1154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1155 _resultobj
= Py_BuildValue("s",_ptemp
);
1158 _resultobj
= Py_None
;
1163 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1168 char *_kwnames
[] = { "name","value", NULL
};
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1174 wxPy_BEGIN_ALLOW_THREADS
;
1175 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1177 wxPy_END_ALLOW_THREADS
;
1178 } _resultobj
= Py_BuildValue("i",_result
);
1182 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
* _resultobj
;
1184 char *_kwnames
[] = { NULL
};
1187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1190 wxPy_BEGIN_ALLOW_THREADS
;
1193 wxPy_END_ALLOW_THREADS
;
1194 } Py_INCREF(Py_None
);
1195 _resultobj
= Py_None
;
1199 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
* _resultobj
;
1203 char *_kwnames
[] = { "resource", NULL
};
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1210 wxPy_BEGIN_ALLOW_THREADS
;
1211 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1213 wxPy_END_ALLOW_THREADS
;
1214 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1215 _resultobj
= Py_BuildValue("s",_ptemp
);
1219 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
* _resultobj
;
1223 char *_kwnames
[] = { "resource", NULL
};
1227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1230 wxPy_BEGIN_ALLOW_THREADS
;
1231 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1233 wxPy_END_ALLOW_THREADS
;
1234 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1235 _resultobj
= Py_BuildValue("s",_ptemp
);
1239 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
* _resultobj
;
1241 wxMenuBar
* _result
;
1243 char *_kwnames
[] = { "resource", NULL
};
1247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1250 wxPy_BEGIN_ALLOW_THREADS
;
1251 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1253 wxPy_END_ALLOW_THREADS
;
1255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
1256 _resultobj
= Py_BuildValue("s",_ptemp
);
1259 _resultobj
= Py_None
;
1264 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1265 PyObject
* _resultobj
;
1268 char *_kwnames
[] = { "name", NULL
};
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1274 wxPy_BEGIN_ALLOW_THREADS
;
1275 _result
= (int )wxResourceGetIdentifier(_arg0
);
1277 wxPy_END_ALLOW_THREADS
;
1278 } _resultobj
= Py_BuildValue("i",_result
);
1282 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
* _resultobj
;
1286 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1287 PyObject
* _argo1
= 0;
1288 char *_kwnames
[] = { "resource","table", NULL
};
1291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1294 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1295 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1301 wxPy_BEGIN_ALLOW_THREADS
;
1302 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1304 wxPy_END_ALLOW_THREADS
;
1305 } _resultobj
= Py_BuildValue("i",_result
);
1309 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
* _resultobj
;
1313 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1314 PyObject
* _argo1
= 0;
1315 char *_kwnames
[] = { "filename","table", NULL
};
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1321 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1328 wxPy_BEGIN_ALLOW_THREADS
;
1329 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1331 wxPy_END_ALLOW_THREADS
;
1332 } _resultobj
= Py_BuildValue("i",_result
);
1336 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
* _resultobj
;
1340 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1341 PyObject
* _argo1
= 0;
1342 char *_kwnames
[] = { "resource","table", NULL
};
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1355 wxPy_BEGIN_ALLOW_THREADS
;
1356 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1358 wxPy_END_ALLOW_THREADS
;
1359 } _resultobj
= Py_BuildValue("i",_result
);
1363 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
* _resultobj
;
1367 char *_kwnames
[] = { "index", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1374 wxPy_BEGIN_ALLOW_THREADS
;
1375 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1377 wxPy_END_ALLOW_THREADS
;
1378 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1379 _resultobj
= Py_BuildValue("s",_ptemp
);
1383 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
* _resultobj
;
1387 char *_kwnames
[] = { "index", NULL
};
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1394 wxPy_BEGIN_ALLOW_THREADS
;
1395 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1397 wxPy_END_ALLOW_THREADS
;
1398 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1399 _resultobj
= Py_BuildValue("s",_ptemp
);
1403 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1404 PyObject
* _resultobj
;
1407 char *_kwnames
[] = { "index", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1413 wxPy_BEGIN_ALLOW_THREADS
;
1414 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1416 wxPy_END_ALLOW_THREADS
;
1417 } _resultobj
= Py_BuildValue("i",_result
);
1421 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
* _resultobj
;
1425 char *_kwnames
[] = { "flag", NULL
};
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
1430 _arg0
= (bool ) tempbool0
;
1432 wxPy_BEGIN_ALLOW_THREADS
;
1433 wxToolTip_Enable(_arg0
);
1435 wxPy_END_ALLOW_THREADS
;
1436 } Py_INCREF(Py_None
);
1437 _resultobj
= Py_None
;
1441 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1442 PyObject
* _resultobj
;
1444 char *_kwnames
[] = { "milliseconds", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
1450 wxPy_BEGIN_ALLOW_THREADS
;
1451 wxToolTip_SetDelay(_arg0
);
1453 wxPy_END_ALLOW_THREADS
;
1454 } Py_INCREF(Py_None
);
1455 _resultobj
= Py_None
;
1459 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1462 char *_kwnames
[] = { NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1468 wxPy_BEGIN_ALLOW_THREADS
;
1469 _result
= (int )wxCaret_GetBlinkTime();
1471 wxPy_END_ALLOW_THREADS
;
1472 } _resultobj
= Py_BuildValue("i",_result
);
1476 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1479 char *_kwnames
[] = { "milliseconds", NULL
};
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1485 wxPy_BEGIN_ALLOW_THREADS
;
1486 wxCaret_SetBlinkTime(_arg0
);
1488 wxPy_END_ALLOW_THREADS
;
1489 } Py_INCREF(Py_None
);
1490 _resultobj
= Py_None
;
1494 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
* _resultobj
;
1496 wxEvtHandler
* _arg0
;
1498 PyObject
* _argo0
= 0;
1499 PyObject
* _argo1
= 0;
1500 char *_kwnames
[] = { "dest","event", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1513 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1514 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1520 wxPy_BEGIN_ALLOW_THREADS
;
1521 wxPostEvent(_arg0
,*_arg1
);
1523 wxPy_END_ALLOW_THREADS
;
1524 } Py_INCREF(Py_None
);
1525 _resultobj
= Py_None
;
1529 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
* _resultobj
;
1531 char *_kwnames
[] = { NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1537 wxPy_BEGIN_ALLOW_THREADS
;
1540 wxPy_END_ALLOW_THREADS
;
1541 } Py_INCREF(Py_None
);
1542 _resultobj
= Py_None
;
1546 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1549 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "win", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1564 wxPy_BEGIN_ALLOW_THREADS
;
1565 _result
= (bool )wxSafeYield(_arg0
);
1567 wxPy_END_ALLOW_THREADS
;
1568 } _resultobj
= Py_BuildValue("i",_result
);
1572 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
* _resultobj
;
1576 wxTipProvider
* _arg1
;
1577 bool _arg2
= (bool ) TRUE
;
1578 PyObject
* _argo0
= 0;
1579 PyObject
* _argo1
= 0;
1580 int tempbool2
= (int) TRUE
;
1581 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1600 _arg2
= (bool ) tempbool2
;
1602 wxPy_BEGIN_ALLOW_THREADS
;
1603 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1605 wxPy_END_ALLOW_THREADS
;
1606 } _resultobj
= Py_BuildValue("i",_result
);
1610 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
* _resultobj
;
1612 wxTipProvider
* _result
;
1615 PyObject
* _obj0
= 0;
1616 char *_kwnames
[] = { "filename","currentTip", NULL
};
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1623 #if PYTHON_API_VERSION >= 1009
1624 char* tmpPtr
; int tmpSize
;
1625 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1626 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1629 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1631 _arg0
= new wxString(tmpPtr
, tmpSize
);
1633 if (!PyString_Check(_obj0
)) {
1634 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1637 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1641 wxPy_BEGIN_ALLOW_THREADS
;
1642 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1644 wxPy_END_ALLOW_THREADS
;
1646 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1647 _resultobj
= Py_BuildValue("s",_ptemp
);
1650 _resultobj
= Py_None
;
1659 static PyObject
*_wrap_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
* _resultobj
;
1661 wxGenericDragImage
* _result
;
1663 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1664 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1665 PyObject
* _argo0
= 0;
1666 PyObject
* _argo1
= 0;
1668 PyObject
* _obj2
= 0;
1669 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragIcon. Expected _wxIcon_p.");
1683 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1684 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragIcon. Expected _wxCursor_p.");
1692 if (! wxPoint_helper(_obj2
, &_arg2
))
1696 wxPy_BEGIN_ALLOW_THREADS
;
1697 _result
= (wxGenericDragImage
*)wxDragIcon(*_arg0
,*_arg1
,*_arg2
);
1699 wxPy_END_ALLOW_THREADS
;
1701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1702 _resultobj
= Py_BuildValue("s",_ptemp
);
1705 _resultobj
= Py_None
;
1710 static PyObject
*_wrap_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
* _resultobj
;
1712 wxGenericDragImage
* _result
;
1714 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1715 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1716 PyObject
* _obj0
= 0;
1717 PyObject
* _argo1
= 0;
1719 PyObject
* _obj2
= 0;
1720 char *_kwnames
[] = { "str","cursor","hotspot", NULL
};
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragString",_kwnames
,&_obj0
,&_argo1
,&_obj2
))
1727 #if PYTHON_API_VERSION >= 1009
1728 char* tmpPtr
; int tmpSize
;
1729 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1730 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1733 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1735 _arg0
= new wxString(tmpPtr
, tmpSize
);
1737 if (!PyString_Check(_obj0
)) {
1738 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1741 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1745 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1746 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragString. Expected _wxCursor_p.");
1754 if (! wxPoint_helper(_obj2
, &_arg2
))
1758 wxPy_BEGIN_ALLOW_THREADS
;
1759 _result
= (wxGenericDragImage
*)wxDragString(*_arg0
,*_arg1
,*_arg2
);
1761 wxPy_END_ALLOW_THREADS
;
1763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1764 _resultobj
= Py_BuildValue("s",_ptemp
);
1767 _resultobj
= Py_None
;
1776 static PyObject
*_wrap_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
* _resultobj
;
1778 wxGenericDragImage
* _result
;
1780 wxTreeItemId
* _arg1
;
1781 PyObject
* _argo0
= 0;
1782 PyObject
* _argo1
= 0;
1783 char *_kwnames
[] = { "treeCtrl","id", NULL
};
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
1790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
1792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragTreeItem. Expected _wxTreeCtrl_p.");
1797 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1798 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
1799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragTreeItem. Expected _wxTreeItemId_p.");
1804 wxPy_BEGIN_ALLOW_THREADS
;
1805 _result
= (wxGenericDragImage
*)wxDragTreeItem(*_arg0
,*_arg1
);
1807 wxPy_END_ALLOW_THREADS
;
1809 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1810 _resultobj
= Py_BuildValue("s",_ptemp
);
1813 _resultobj
= Py_None
;
1818 static PyObject
*_wrap_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
* _resultobj
;
1820 wxGenericDragImage
* _result
;
1823 PyObject
* _argo0
= 0;
1824 char *_kwnames
[] = { "listCtrl","id", NULL
};
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
1831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragListItem. Expected _wxListCtrl_p.");
1838 wxPy_BEGIN_ALLOW_THREADS
;
1839 _result
= (wxGenericDragImage
*)wxDragListItem(*_arg0
,_arg1
);
1841 wxPy_END_ALLOW_THREADS
;
1843 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1844 _resultobj
= Py_BuildValue("s",_ptemp
);
1847 _resultobj
= Py_None
;
1852 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1854 unsigned long _result
;
1855 char *_kwnames
[] = { NULL
};
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1861 wxPy_BEGIN_ALLOW_THREADS
;
1862 _result
= (unsigned long )wxSysErrorCode();
1864 wxPy_END_ALLOW_THREADS
;
1865 } _resultobj
= Py_BuildValue("l",_result
);
1869 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1872 unsigned long _arg0
= (unsigned long ) 0;
1873 char *_kwnames
[] = { "nErrCode", NULL
};
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1879 wxPy_BEGIN_ALLOW_THREADS
;
1880 _result
= (char *)wxSysErrorMsg(_arg0
);
1882 wxPy_END_ALLOW_THREADS
;
1883 } _resultobj
= Py_BuildValue("s", _result
);
1887 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
* _resultobj
;
1890 char *_kwnames
[] = { "szFormat", NULL
};
1893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1896 wxPy_BEGIN_ALLOW_THREADS
;
1897 wxLogFatalError(_arg0
);
1899 wxPy_END_ALLOW_THREADS
;
1900 } Py_INCREF(Py_None
);
1901 _resultobj
= Py_None
;
1905 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1908 char *_kwnames
[] = { "szFormat", NULL
};
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1914 wxPy_BEGIN_ALLOW_THREADS
;
1917 wxPy_END_ALLOW_THREADS
;
1918 } Py_INCREF(Py_None
);
1919 _resultobj
= Py_None
;
1923 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1926 char *_kwnames
[] = { "szFormat", NULL
};
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
1932 wxPy_BEGIN_ALLOW_THREADS
;
1933 wxLogWarning(_arg0
);
1935 wxPy_END_ALLOW_THREADS
;
1936 } Py_INCREF(Py_None
);
1937 _resultobj
= Py_None
;
1941 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
* _resultobj
;
1944 char *_kwnames
[] = { "szFormat", NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
1950 wxPy_BEGIN_ALLOW_THREADS
;
1951 wxLogMessage(_arg0
);
1953 wxPy_END_ALLOW_THREADS
;
1954 } Py_INCREF(Py_None
);
1955 _resultobj
= Py_None
;
1959 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1962 char *_kwnames
[] = { "szFormat", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
1968 wxPy_BEGIN_ALLOW_THREADS
;
1971 wxPy_END_ALLOW_THREADS
;
1972 } Py_INCREF(Py_None
);
1973 _resultobj
= Py_None
;
1977 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
* _resultobj
;
1980 char *_kwnames
[] = { "szFormat", NULL
};
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
1986 wxPy_BEGIN_ALLOW_THREADS
;
1987 wxLogVerbose(_arg0
);
1989 wxPy_END_ALLOW_THREADS
;
1990 } Py_INCREF(Py_None
);
1991 _resultobj
= Py_None
;
1995 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1996 PyObject
* _resultobj
;
1998 char *_kwnames
[] = { "szFormat", NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2004 wxPy_BEGIN_ALLOW_THREADS
;
2007 wxPy_END_ALLOW_THREADS
;
2008 } Py_INCREF(Py_None
);
2009 _resultobj
= Py_None
;
2013 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2017 PyObject
* _argo0
= 0;
2018 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2031 wxPy_BEGIN_ALLOW_THREADS
;
2032 wxLogStatus(_arg0
,_arg1
);
2034 wxPy_END_ALLOW_THREADS
;
2035 } Py_INCREF(Py_None
);
2036 _resultobj
= Py_None
;
2040 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
* _resultobj
;
2043 char *_kwnames
[] = { "szFormat", NULL
};
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2049 wxPy_BEGIN_ALLOW_THREADS
;
2050 wxLogSysError(_arg0
);
2052 wxPy_END_ALLOW_THREADS
;
2053 } Py_INCREF(Py_None
);
2054 _resultobj
= Py_None
;
2058 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2062 int _arg1
= (int ) FALSE
;
2063 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2064 PyObject
* _obj0
= 0;
2065 PyObject
* _argo2
= 0;
2066 char *_kwnames
[] = { "command","sync","process", NULL
};
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2072 #if PYTHON_API_VERSION >= 1009
2073 char* tmpPtr
; int tmpSize
;
2074 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2075 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2078 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2080 _arg0
= new wxString(tmpPtr
, tmpSize
);
2082 if (!PyString_Check(_obj0
)) {
2083 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2086 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2090 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2091 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2097 wxPy_BEGIN_ALLOW_THREADS
;
2098 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2100 wxPy_END_ALLOW_THREADS
;
2101 } _resultobj
= Py_BuildValue("l",_result
);
2109 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2110 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2112 wxToolTip
* _result
;
2114 PyObject
* _obj0
= 0;
2115 char *_kwnames
[] = { "tip", NULL
};
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2122 #if PYTHON_API_VERSION >= 1009
2123 char* tmpPtr
; int tmpSize
;
2124 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2125 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2128 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2130 _arg0
= new wxString(tmpPtr
, tmpSize
);
2132 if (!PyString_Check(_obj0
)) {
2133 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2136 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2140 wxPy_BEGIN_ALLOW_THREADS
;
2141 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2143 wxPy_END_ALLOW_THREADS
;
2145 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2146 _resultobj
= Py_BuildValue("s",_ptemp
);
2149 _resultobj
= Py_None
;
2158 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2159 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2163 PyObject
* _argo0
= 0;
2164 PyObject
* _obj1
= 0;
2165 char *_kwnames
[] = { "self","tip", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2178 #if PYTHON_API_VERSION >= 1009
2179 char* tmpPtr
; int tmpSize
;
2180 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2181 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2184 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2186 _arg1
= new wxString(tmpPtr
, tmpSize
);
2188 if (!PyString_Check(_obj1
)) {
2189 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2192 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2196 wxPy_BEGIN_ALLOW_THREADS
;
2197 wxToolTip_SetTip(_arg0
,*_arg1
);
2199 wxPy_END_ALLOW_THREADS
;
2200 } Py_INCREF(Py_None
);
2201 _resultobj
= Py_None
;
2209 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2210 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
* _resultobj
;
2214 PyObject
* _argo0
= 0;
2215 char *_kwnames
[] = { "self", NULL
};
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2228 wxPy_BEGIN_ALLOW_THREADS
;
2229 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2231 wxPy_END_ALLOW_THREADS
;
2233 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2241 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2242 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
* _resultobj
;
2246 PyObject
* _argo0
= 0;
2247 char *_kwnames
[] = { "self", NULL
};
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2261 wxPy_BEGIN_ALLOW_THREADS
;
2262 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2264 wxPy_END_ALLOW_THREADS
;
2266 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2267 _resultobj
= Py_BuildValue("s",_ptemp
);
2270 _resultobj
= Py_None
;
2275 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2276 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2281 PyObject
* _argo0
= 0;
2283 PyObject
* _obj1
= 0;
2284 char *_kwnames
[] = { "window","size", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2299 if (! wxSize_helper(_obj1
, &_arg1
))
2303 wxPy_BEGIN_ALLOW_THREADS
;
2304 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2306 wxPy_END_ALLOW_THREADS
;
2308 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2309 _resultobj
= Py_BuildValue("s",_ptemp
);
2312 _resultobj
= Py_None
;
2317 #define delete_wxCaret(_swigobj) (delete _swigobj)
2318 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
* _resultobj
;
2321 PyObject
* _argo0
= 0;
2322 char *_kwnames
[] = { "self", NULL
};
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2335 wxPy_BEGIN_ALLOW_THREADS
;
2336 delete_wxCaret(_arg0
);
2338 wxPy_END_ALLOW_THREADS
;
2339 } Py_INCREF(Py_None
);
2340 _resultobj
= Py_None
;
2344 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2345 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
* _resultobj
;
2349 PyObject
* _argo0
= 0;
2350 char *_kwnames
[] = { "self", NULL
};
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2363 wxPy_BEGIN_ALLOW_THREADS
;
2364 _result
= (bool )wxCaret_IsOk(_arg0
);
2366 wxPy_END_ALLOW_THREADS
;
2367 } _resultobj
= Py_BuildValue("i",_result
);
2371 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2372 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2376 PyObject
* _argo0
= 0;
2377 char *_kwnames
[] = { "self", NULL
};
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2390 wxPy_BEGIN_ALLOW_THREADS
;
2391 _result
= (bool )wxCaret_IsVisible(_arg0
);
2393 wxPy_END_ALLOW_THREADS
;
2394 } _resultobj
= Py_BuildValue("i",_result
);
2398 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2399 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
* _resultobj
;
2406 PyObject
* _argo0
= 0;
2407 char *_kwnames
[] = { "self", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2426 wxPy_BEGIN_ALLOW_THREADS
;
2427 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2429 wxPy_END_ALLOW_THREADS
;
2430 } Py_INCREF(Py_None
);
2431 _resultobj
= Py_None
;
2434 o
= PyInt_FromLong((long) (*_arg1
));
2435 _resultobj
= t_output_helper(_resultobj
, o
);
2439 o
= PyInt_FromLong((long) (*_arg2
));
2440 _resultobj
= t_output_helper(_resultobj
, o
);
2445 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2446 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2450 PyObject
* _argo0
= 0;
2451 char *_kwnames
[] = { "self", NULL
};
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2465 wxPy_BEGIN_ALLOW_THREADS
;
2466 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2468 wxPy_END_ALLOW_THREADS
;
2469 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2470 _resultobj
= Py_BuildValue("s",_ptemp
);
2474 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2475 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
* _resultobj
;
2482 PyObject
* _argo0
= 0;
2483 char *_kwnames
[] = { "self", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2502 wxPy_BEGIN_ALLOW_THREADS
;
2503 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2505 wxPy_END_ALLOW_THREADS
;
2506 } Py_INCREF(Py_None
);
2507 _resultobj
= Py_None
;
2510 o
= PyInt_FromLong((long) (*_arg1
));
2511 _resultobj
= t_output_helper(_resultobj
, o
);
2515 o
= PyInt_FromLong((long) (*_arg2
));
2516 _resultobj
= t_output_helper(_resultobj
, o
);
2521 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2522 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2526 PyObject
* _argo0
= 0;
2527 char *_kwnames
[] = { "self", NULL
};
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2541 wxPy_BEGIN_ALLOW_THREADS
;
2542 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2544 wxPy_END_ALLOW_THREADS
;
2545 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2546 _resultobj
= Py_BuildValue("s",_ptemp
);
2550 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2551 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
* _resultobj
;
2555 PyObject
* _argo0
= 0;
2556 char *_kwnames
[] = { "self", NULL
};
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2570 wxPy_BEGIN_ALLOW_THREADS
;
2571 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2573 wxPy_END_ALLOW_THREADS
;
2575 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2576 _resultobj
= Py_BuildValue("s",_ptemp
);
2579 _resultobj
= Py_None
;
2584 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2585 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2590 PyObject
* _argo0
= 0;
2591 char *_kwnames
[] = { "self","x","y", NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2604 wxPy_BEGIN_ALLOW_THREADS
;
2605 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2607 wxPy_END_ALLOW_THREADS
;
2608 } Py_INCREF(Py_None
);
2609 _resultobj
= Py_None
;
2613 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2614 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
* _resultobj
;
2618 PyObject
* _argo0
= 0;
2620 PyObject
* _obj1
= 0;
2621 char *_kwnames
[] = { "self","pt", NULL
};
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2635 if (! wxPoint_helper(_obj1
, &_arg1
))
2639 wxPy_BEGIN_ALLOW_THREADS
;
2640 wxCaret_Move(_arg0
,*_arg1
);
2642 wxPy_END_ALLOW_THREADS
;
2643 } Py_INCREF(Py_None
);
2644 _resultobj
= Py_None
;
2648 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2649 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
* _resultobj
;
2654 PyObject
* _argo0
= 0;
2655 char *_kwnames
[] = { "self","width","height", NULL
};
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2668 wxPy_BEGIN_ALLOW_THREADS
;
2669 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2671 wxPy_END_ALLOW_THREADS
;
2672 } Py_INCREF(Py_None
);
2673 _resultobj
= Py_None
;
2677 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2678 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
* _resultobj
;
2682 PyObject
* _argo0
= 0;
2684 PyObject
* _obj1
= 0;
2685 char *_kwnames
[] = { "self","size", NULL
};
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2699 if (! wxSize_helper(_obj1
, &_arg1
))
2703 wxPy_BEGIN_ALLOW_THREADS
;
2704 wxCaret_SetSize(_arg0
,*_arg1
);
2706 wxPy_END_ALLOW_THREADS
;
2707 } Py_INCREF(Py_None
);
2708 _resultobj
= Py_None
;
2712 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2713 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
* _resultobj
;
2716 int _arg1
= (int ) TRUE
;
2717 PyObject
* _argo0
= 0;
2718 char *_kwnames
[] = { "self","show", NULL
};
2721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2731 wxPy_BEGIN_ALLOW_THREADS
;
2732 wxCaret_Show(_arg0
,_arg1
);
2734 wxPy_END_ALLOW_THREADS
;
2735 } Py_INCREF(Py_None
);
2736 _resultobj
= Py_None
;
2740 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2741 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
* _resultobj
;
2744 PyObject
* _argo0
= 0;
2745 char *_kwnames
[] = { "self", NULL
};
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2758 wxPy_BEGIN_ALLOW_THREADS
;
2759 wxCaret_Hide(_arg0
);
2761 wxPy_END_ALLOW_THREADS
;
2762 } Py_INCREF(Py_None
);
2763 _resultobj
= Py_None
;
2767 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2768 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
* _resultobj
;
2770 wxPyFontEnumerator
* _result
;
2771 char *_kwnames
[] = { NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2778 wxPy_BEGIN_ALLOW_THREADS
;
2779 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2781 wxPy_END_ALLOW_THREADS
;
2783 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2784 _resultobj
= Py_BuildValue("s",_ptemp
);
2787 _resultobj
= Py_None
;
2792 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2793 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
* _resultobj
;
2795 wxPyFontEnumerator
* _arg0
;
2796 PyObject
* _argo0
= 0;
2797 char *_kwnames
[] = { "self", NULL
};
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2810 wxPy_BEGIN_ALLOW_THREADS
;
2811 delete_wxPyFontEnumerator(_arg0
);
2813 wxPy_END_ALLOW_THREADS
;
2814 } Py_INCREF(Py_None
);
2815 _resultobj
= Py_None
;
2819 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2820 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
* _resultobj
;
2822 wxPyFontEnumerator
* _arg0
;
2825 PyObject
* _argo0
= 0;
2826 PyObject
* _obj1
= 0;
2827 PyObject
* _obj2
= 0;
2828 char *_kwnames
[] = { "self","self","_class", NULL
};
2831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
2847 wxPy_BEGIN_ALLOW_THREADS
;
2848 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
2850 wxPy_END_ALLOW_THREADS
;
2851 } Py_INCREF(Py_None
);
2852 _resultobj
= Py_None
;
2856 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2857 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
* _resultobj
;
2860 wxPyFontEnumerator
* _arg0
;
2861 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
2862 bool _arg2
= (bool ) FALSE
;
2863 PyObject
* _argo0
= 0;
2864 int tempbool2
= (int) FALSE
;
2865 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
2877 _arg2
= (bool ) tempbool2
;
2879 wxPy_BEGIN_ALLOW_THREADS
;
2880 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
2882 wxPy_END_ALLOW_THREADS
;
2883 } _resultobj
= Py_BuildValue("i",_result
);
2887 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
2888 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2891 wxPyFontEnumerator
* _arg0
;
2892 char * _arg1
= (char *) "";
2893 PyObject
* _argo0
= 0;
2894 char *_kwnames
[] = { "self","facename", NULL
};
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
2900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
2907 wxPy_BEGIN_ALLOW_THREADS
;
2908 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
2910 wxPy_END_ALLOW_THREADS
;
2911 } _resultobj
= Py_BuildValue("i",_result
);
2915 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
2916 wxArrayString
* arr
= self
->GetEncodings();
2917 PyObject
* list
= PyList_New(0);
2918 for (size_t x
=0; x
<arr
->GetCount(); x
++)
2919 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
2922 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
* _resultobj
;
2925 wxPyFontEnumerator
* _arg0
;
2926 PyObject
* _argo0
= 0;
2927 char *_kwnames
[] = { "self", NULL
};
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
2933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
2940 wxPy_BEGIN_ALLOW_THREADS
;
2941 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
2943 wxPy_END_ALLOW_THREADS
;
2945 _resultobj
= _result
;
2950 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
2951 wxArrayString
* arr
= self
->GetFacenames();
2952 PyObject
* list
= PyList_New(0);
2953 for (size_t x
=0; x
<arr
->GetCount(); x
++)
2954 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
2957 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
* _resultobj
;
2960 wxPyFontEnumerator
* _arg0
;
2961 PyObject
* _argo0
= 0;
2962 char *_kwnames
[] = { "self", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
2968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
2975 wxPy_BEGIN_ALLOW_THREADS
;
2976 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
2978 wxPy_END_ALLOW_THREADS
;
2980 _resultobj
= _result
;
2985 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
2986 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2988 wxBusyCursor
* _result
;
2989 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
2990 PyObject
* _argo0
= 0;
2991 char *_kwnames
[] = { "cursor", NULL
};
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
2998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3005 wxPy_BEGIN_ALLOW_THREADS
;
3006 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3008 wxPy_END_ALLOW_THREADS
;
3010 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3011 _resultobj
= Py_BuildValue("s",_ptemp
);
3014 _resultobj
= Py_None
;
3019 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3020 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
* _resultobj
;
3022 wxBusyCursor
* _arg0
;
3023 PyObject
* _argo0
= 0;
3024 char *_kwnames
[] = { "self", NULL
};
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3037 wxPy_BEGIN_ALLOW_THREADS
;
3038 delete_wxBusyCursor(_arg0
);
3040 wxPy_END_ALLOW_THREADS
;
3041 } Py_INCREF(Py_None
);
3042 _resultobj
= Py_None
;
3046 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3047 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
* _resultobj
;
3049 wxWindowDisabler
* _result
;
3050 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3051 PyObject
* _argo0
= 0;
3052 char *_kwnames
[] = { "winToSkip", NULL
};
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3066 wxPy_BEGIN_ALLOW_THREADS
;
3067 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3069 wxPy_END_ALLOW_THREADS
;
3071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3072 _resultobj
= Py_BuildValue("s",_ptemp
);
3075 _resultobj
= Py_None
;
3080 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3081 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3083 wxWindowDisabler
* _arg0
;
3084 PyObject
* _argo0
= 0;
3085 char *_kwnames
[] = { "self", NULL
};
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3098 wxPy_BEGIN_ALLOW_THREADS
;
3099 delete_wxWindowDisabler(_arg0
);
3101 wxPy_END_ALLOW_THREADS
;
3102 } Py_INCREF(Py_None
);
3103 _resultobj
= Py_None
;
3107 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3108 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3110 wxTipProvider
* _arg0
;
3111 PyObject
* _argo0
= 0;
3112 char *_kwnames
[] = { "self", NULL
};
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3125 wxPy_BEGIN_ALLOW_THREADS
;
3126 delete_wxTipProvider(_arg0
);
3128 wxPy_END_ALLOW_THREADS
;
3129 } Py_INCREF(Py_None
);
3130 _resultobj
= Py_None
;
3134 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3135 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3138 wxTipProvider
* _arg0
;
3139 PyObject
* _argo0
= 0;
3140 char *_kwnames
[] = { "self", NULL
};
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3153 wxPy_BEGIN_ALLOW_THREADS
;
3154 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3156 wxPy_END_ALLOW_THREADS
;
3158 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3166 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3167 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
* _resultobj
;
3170 wxTipProvider
* _arg0
;
3171 PyObject
* _argo0
= 0;
3172 char *_kwnames
[] = { "self", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3185 wxPy_BEGIN_ALLOW_THREADS
;
3186 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3188 wxPy_END_ALLOW_THREADS
;
3189 } _resultobj
= Py_BuildValue("i",_result
);
3193 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3194 wxPyTipProvider
*src
;
3195 wxTipProvider
*dest
;
3196 src
= (wxPyTipProvider
*) ptr
;
3197 dest
= (wxTipProvider
*) src
;
3198 return (void *) dest
;
3201 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3202 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
* _resultobj
;
3204 wxPyTipProvider
* _result
;
3206 char *_kwnames
[] = { "currentTip", NULL
};
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3213 wxPy_BEGIN_ALLOW_THREADS
;
3214 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3216 wxPy_END_ALLOW_THREADS
;
3218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3219 _resultobj
= Py_BuildValue("s",_ptemp
);
3222 _resultobj
= Py_None
;
3227 #define new_wxDragImage(_swigarg0,_swigarg1,_swigarg2) (new wxGenericDragImage(_swigarg0,_swigarg1,_swigarg2))
3228 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
* _resultobj
;
3230 wxGenericDragImage
* _result
;
3232 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3233 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
3234 PyObject
* _argo0
= 0;
3235 PyObject
* _argo1
= 0;
3237 PyObject
* _obj2
= 0;
3238 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3252 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3253 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3261 if (! wxPoint_helper(_obj2
, &_arg2
))
3265 wxPy_BEGIN_ALLOW_THREADS
;
3266 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
,*_arg2
);
3268 wxPy_END_ALLOW_THREADS
;
3270 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3271 _resultobj
= Py_BuildValue("s",_ptemp
);
3274 _resultobj
= Py_None
;
3279 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3280 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3282 wxGenericDragImage
* _arg0
;
3283 PyObject
* _argo0
= 0;
3284 char *_kwnames
[] = { "self", NULL
};
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3297 wxPy_BEGIN_ALLOW_THREADS
;
3298 delete_wxGenericDragImage(_arg0
);
3300 wxPy_END_ALLOW_THREADS
;
3301 } Py_INCREF(Py_None
);
3302 _resultobj
= Py_None
;
3306 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3307 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
* _resultobj
;
3310 wxGenericDragImage
* _arg0
;
3313 bool _arg3
= (bool ) FALSE
;
3314 wxRect
* _arg4
= (wxRect
*) NULL
;
3315 PyObject
* _argo0
= 0;
3317 PyObject
* _obj1
= 0;
3318 PyObject
* _argo2
= 0;
3319 int tempbool3
= (int) FALSE
;
3321 PyObject
* _obj4
= 0;
3322 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3336 if (! wxPoint_helper(_obj1
, &_arg1
))
3340 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3341 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3346 _arg3
= (bool ) tempbool3
;
3350 if (! wxRect_helper(_obj4
, &_arg4
))
3354 wxPy_BEGIN_ALLOW_THREADS
;
3355 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3357 wxPy_END_ALLOW_THREADS
;
3358 } _resultobj
= Py_BuildValue("i",_result
);
3362 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3363 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
* _resultobj
;
3366 wxGenericDragImage
* _arg0
;
3370 PyObject
* _argo0
= 0;
3372 PyObject
* _obj1
= 0;
3373 PyObject
* _argo2
= 0;
3374 PyObject
* _argo3
= 0;
3375 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3389 if (! wxPoint_helper(_obj1
, &_arg1
))
3393 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3394 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3400 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3401 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3407 wxPy_BEGIN_ALLOW_THREADS
;
3408 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3410 wxPy_END_ALLOW_THREADS
;
3411 } _resultobj
= Py_BuildValue("i",_result
);
3415 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3416 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3419 wxGenericDragImage
* _arg0
;
3420 PyObject
* _argo0
= 0;
3421 char *_kwnames
[] = { "self", NULL
};
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3434 wxPy_BEGIN_ALLOW_THREADS
;
3435 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3437 wxPy_END_ALLOW_THREADS
;
3438 } _resultobj
= Py_BuildValue("i",_result
);
3442 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3443 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
* _resultobj
;
3446 wxGenericDragImage
* _arg0
;
3448 PyObject
* _argo0
= 0;
3450 PyObject
* _obj1
= 0;
3451 char *_kwnames
[] = { "self","pt", NULL
};
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3465 if (! wxPoint_helper(_obj1
, &_arg1
))
3469 wxPy_BEGIN_ALLOW_THREADS
;
3470 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3472 wxPy_END_ALLOW_THREADS
;
3473 } _resultobj
= Py_BuildValue("i",_result
);
3477 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3478 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3479 PyObject
* _resultobj
;
3481 wxGenericDragImage
* _arg0
;
3482 PyObject
* _argo0
= 0;
3483 char *_kwnames
[] = { "self", NULL
};
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3496 wxPy_BEGIN_ALLOW_THREADS
;
3497 _result
= (bool )wxDragImage_Show(_arg0
);
3499 wxPy_END_ALLOW_THREADS
;
3500 } _resultobj
= Py_BuildValue("i",_result
);
3504 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3505 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
* _resultobj
;
3508 wxGenericDragImage
* _arg0
;
3509 PyObject
* _argo0
= 0;
3510 char *_kwnames
[] = { "self", NULL
};
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3523 wxPy_BEGIN_ALLOW_THREADS
;
3524 _result
= (bool )wxDragImage_Hide(_arg0
);
3526 wxPy_END_ALLOW_THREADS
;
3527 } _resultobj
= Py_BuildValue("i",_result
);
3531 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3532 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
* _resultobj
;
3535 wxGenericDragImage
* _arg0
;
3537 PyObject
* _argo0
= 0;
3539 PyObject
* _obj1
= 0;
3540 char *_kwnames
[] = { "self","pos", NULL
};
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3555 if (! wxPoint_helper(_obj1
, &_arg1
))
3559 wxPy_BEGIN_ALLOW_THREADS
;
3560 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3562 wxPy_END_ALLOW_THREADS
;
3563 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3564 _resultobj
= Py_BuildValue("s",_ptemp
);
3568 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3569 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3572 wxGenericDragImage
* _arg0
;
3577 PyObject
* _argo0
= 0;
3579 PyObject
* _obj1
= 0;
3581 PyObject
* _obj2
= 0;
3584 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3598 if (! wxPoint_helper(_obj1
, &_arg1
))
3603 if (! wxPoint_helper(_obj2
, &_arg2
))
3606 _arg3
= (bool ) tempbool3
;
3607 _arg4
= (bool ) tempbool4
;
3609 wxPy_BEGIN_ALLOW_THREADS
;
3610 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
3612 wxPy_END_ALLOW_THREADS
;
3613 } _resultobj
= Py_BuildValue("i",_result
);
3617 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
3618 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
* _resultobj
;
3620 wxPyTimer
* _result
;
3622 PyObject
* _obj0
= 0;
3623 char *_kwnames
[] = { "notify", NULL
};
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
3633 wxPy_BEGIN_ALLOW_THREADS
;
3634 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
3636 wxPy_END_ALLOW_THREADS
;
3638 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
3639 _resultobj
= Py_BuildValue("s",_ptemp
);
3642 _resultobj
= Py_None
;
3647 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
3648 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
* _resultobj
;
3651 PyObject
* _argo0
= 0;
3652 char *_kwnames
[] = { "self", NULL
};
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
3658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
3665 wxPy_BEGIN_ALLOW_THREADS
;
3666 delete_wxPyTimer(_arg0
);
3668 wxPy_END_ALLOW_THREADS
;
3669 } Py_INCREF(Py_None
);
3670 _resultobj
= Py_None
;
3674 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
3675 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
* _resultobj
;
3679 PyObject
* _argo0
= 0;
3680 char *_kwnames
[] = { "self", NULL
};
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
3686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
3693 wxPy_BEGIN_ALLOW_THREADS
;
3694 _result
= (int )wxPyTimer_GetInterval(_arg0
);
3696 wxPy_END_ALLOW_THREADS
;
3697 } _resultobj
= Py_BuildValue("i",_result
);
3701 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
3702 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
* _resultobj
;
3706 PyObject
* _argo0
= 0;
3707 char *_kwnames
[] = { "self", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
3720 wxPy_BEGIN_ALLOW_THREADS
;
3721 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
3723 wxPy_END_ALLOW_THREADS
;
3724 } _resultobj
= Py_BuildValue("i",_result
);
3728 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
3729 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
* _resultobj
;
3733 PyObject
* _argo0
= 0;
3734 char *_kwnames
[] = { "self", NULL
};
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
3740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
3747 wxPy_BEGIN_ALLOW_THREADS
;
3748 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
3750 wxPy_END_ALLOW_THREADS
;
3751 } _resultobj
= Py_BuildValue("i",_result
);
3755 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
3756 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
* _resultobj
;
3759 wxEvtHandler
* _arg1
;
3760 int _arg2
= (int ) -1;
3761 PyObject
* _argo0
= 0;
3762 PyObject
* _argo1
= 0;
3763 char *_kwnames
[] = { "self","owner","id", NULL
};
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
3776 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3777 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
3783 wxPy_BEGIN_ALLOW_THREADS
;
3784 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
3786 wxPy_END_ALLOW_THREADS
;
3787 } Py_INCREF(Py_None
);
3788 _resultobj
= Py_None
;
3792 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
3793 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
* _resultobj
;
3796 int _arg1
= (int ) -1;
3797 int _arg2
= (int ) FALSE
;
3798 PyObject
* _argo0
= 0;
3799 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
3812 wxPy_BEGIN_ALLOW_THREADS
;
3813 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
3815 wxPy_END_ALLOW_THREADS
;
3816 } Py_INCREF(Py_None
);
3817 _resultobj
= Py_None
;
3821 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
3822 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
* _resultobj
;
3825 PyObject
* _argo0
= 0;
3826 char *_kwnames
[] = { "self", NULL
};
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
3832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
3839 wxPy_BEGIN_ALLOW_THREADS
;
3840 wxPyTimer_Stop(_arg0
);
3842 wxPy_END_ALLOW_THREADS
;
3843 } Py_INCREF(Py_None
);
3844 _resultobj
= Py_None
;
3848 #define new_wxLog() (new wxLog())
3849 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
* _resultobj
;
3852 char *_kwnames
[] = { NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
3859 wxPy_BEGIN_ALLOW_THREADS
;
3860 _result
= (wxLog
*)new_wxLog();
3862 wxPy_END_ALLOW_THREADS
;
3864 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
3865 _resultobj
= Py_BuildValue("s",_ptemp
);
3868 _resultobj
= Py_None
;
3873 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
* _resultobj
;
3876 char *_kwnames
[] = { NULL
};
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
3882 wxPy_BEGIN_ALLOW_THREADS
;
3883 _result
= (bool )wxLog::IsEnabled();
3885 wxPy_END_ALLOW_THREADS
;
3886 } _resultobj
= Py_BuildValue("i",_result
);
3890 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
* _resultobj
;
3893 bool _arg0
= (bool ) TRUE
;
3894 int tempbool0
= (int) TRUE
;
3895 char *_kwnames
[] = { "doIt", NULL
};
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
3900 _arg0
= (bool ) tempbool0
;
3902 wxPy_BEGIN_ALLOW_THREADS
;
3903 _result
= (bool )wxLog::EnableLogging(_arg0
);
3905 wxPy_END_ALLOW_THREADS
;
3906 } _resultobj
= Py_BuildValue("i",_result
);
3910 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
* _resultobj
;
3914 int _arg2
= (int ) 0;
3915 PyObject
* _argo0
= 0;
3916 char *_kwnames
[] = { "level","szString","t", NULL
};
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
3924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
3929 wxPy_BEGIN_ALLOW_THREADS
;
3930 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
3932 wxPy_END_ALLOW_THREADS
;
3933 } Py_INCREF(Py_None
);
3934 _resultobj
= Py_None
;
3938 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
3939 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
* _resultobj
;
3942 PyObject
* _argo0
= 0;
3943 char *_kwnames
[] = { "self", NULL
};
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
3949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
3956 wxPy_BEGIN_ALLOW_THREADS
;
3959 wxPy_END_ALLOW_THREADS
;
3960 } Py_INCREF(Py_None
);
3961 _resultobj
= Py_None
;
3965 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
3966 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3970 PyObject
* _argo0
= 0;
3971 char *_kwnames
[] = { "self", NULL
};
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
3977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
3984 wxPy_BEGIN_ALLOW_THREADS
;
3985 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
3987 wxPy_END_ALLOW_THREADS
;
3988 } _resultobj
= Py_BuildValue("i",_result
);
3992 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
* _resultobj
;
3994 char *_kwnames
[] = { NULL
};
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4000 wxPy_BEGIN_ALLOW_THREADS
;
4001 wxLog::FlushActive();
4003 wxPy_END_ALLOW_THREADS
;
4004 } Py_INCREF(Py_None
);
4005 _resultobj
= Py_None
;
4009 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4012 char *_kwnames
[] = { NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4019 wxPy_BEGIN_ALLOW_THREADS
;
4020 _result
= (wxLog
*)wxLog::GetActiveTarget();
4022 wxPy_END_ALLOW_THREADS
;
4024 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4025 _resultobj
= Py_BuildValue("s",_ptemp
);
4028 _resultobj
= Py_None
;
4033 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
* _resultobj
;
4037 PyObject
* _argo0
= 0;
4038 char *_kwnames
[] = { "pLogger", NULL
};
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4052 wxPy_BEGIN_ALLOW_THREADS
;
4053 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4055 wxPy_END_ALLOW_THREADS
;
4057 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4058 _resultobj
= Py_BuildValue("s",_ptemp
);
4061 _resultobj
= Py_None
;
4066 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
* _resultobj
;
4068 char *_kwnames
[] = { NULL
};
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4074 wxPy_BEGIN_ALLOW_THREADS
;
4077 wxPy_END_ALLOW_THREADS
;
4078 } Py_INCREF(Py_None
);
4079 _resultobj
= Py_None
;
4083 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
* _resultobj
;
4085 char *_kwnames
[] = { NULL
};
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4091 wxPy_BEGIN_ALLOW_THREADS
;
4094 wxPy_END_ALLOW_THREADS
;
4095 } Py_INCREF(Py_None
);
4096 _resultobj
= Py_None
;
4100 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4101 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
* _resultobj
;
4104 bool _arg1
= (bool ) TRUE
;
4105 PyObject
* _argo0
= 0;
4106 int tempbool1
= (int) TRUE
;
4107 char *_kwnames
[] = { "self","bVerbose", NULL
};
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4119 _arg1
= (bool ) tempbool1
;
4121 wxPy_BEGIN_ALLOW_THREADS
;
4122 wxLog_SetVerbose(_arg0
,_arg1
);
4124 wxPy_END_ALLOW_THREADS
;
4125 } Py_INCREF(Py_None
);
4126 _resultobj
= Py_None
;
4130 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
* _resultobj
;
4132 char *_kwnames
[] = { NULL
};
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4138 wxPy_BEGIN_ALLOW_THREADS
;
4139 wxLog::DontCreateOnDemand();
4141 wxPy_END_ALLOW_THREADS
;
4142 } Py_INCREF(Py_None
);
4143 _resultobj
= Py_None
;
4147 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
* _resultobj
;
4149 wxTraceMask
* _arg0
;
4150 PyObject
* _argo0
= 0;
4151 char *_kwnames
[] = { "ulMask", NULL
};
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4164 wxPy_BEGIN_ALLOW_THREADS
;
4165 wxLog::SetTraceMask(*_arg0
);
4167 wxPy_END_ALLOW_THREADS
;
4168 } Py_INCREF(Py_None
);
4169 _resultobj
= Py_None
;
4173 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
* _resultobj
;
4176 PyObject
* _obj0
= 0;
4177 char *_kwnames
[] = { "str", NULL
};
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4183 #if PYTHON_API_VERSION >= 1009
4184 char* tmpPtr
; int tmpSize
;
4185 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4186 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4189 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4191 _arg0
= new wxString(tmpPtr
, tmpSize
);
4193 if (!PyString_Check(_obj0
)) {
4194 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4197 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4201 wxPy_BEGIN_ALLOW_THREADS
;
4202 wxLog::AddTraceMask(*_arg0
);
4204 wxPy_END_ALLOW_THREADS
;
4205 } Py_INCREF(Py_None
);
4206 _resultobj
= Py_None
;
4214 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
* _resultobj
;
4217 PyObject
* _obj0
= 0;
4218 char *_kwnames
[] = { "str", NULL
};
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4224 #if PYTHON_API_VERSION >= 1009
4225 char* tmpPtr
; int tmpSize
;
4226 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4227 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4230 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4232 _arg0
= new wxString(tmpPtr
, tmpSize
);
4234 if (!PyString_Check(_obj0
)) {
4235 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4238 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4242 wxPy_BEGIN_ALLOW_THREADS
;
4243 wxLog::RemoveTraceMask(*_arg0
);
4245 wxPy_END_ALLOW_THREADS
;
4246 } Py_INCREF(Py_None
);
4247 _resultobj
= Py_None
;
4255 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4256 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4260 PyObject
* _argo0
= 0;
4261 char *_kwnames
[] = { "self", NULL
};
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4274 wxPy_BEGIN_ALLOW_THREADS
;
4275 _result
= (bool )wxLog_GetVerbose(_arg0
);
4277 wxPy_END_ALLOW_THREADS
;
4278 } _resultobj
= Py_BuildValue("i",_result
);
4282 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
* _resultobj
;
4284 wxTraceMask
* _result
;
4285 char *_kwnames
[] = { NULL
};
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4292 wxPy_BEGIN_ALLOW_THREADS
;
4293 _result
= new wxTraceMask (wxLog::GetTraceMask());
4295 wxPy_END_ALLOW_THREADS
;
4296 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4297 _resultobj
= Py_BuildValue("s",_ptemp
);
4301 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
* _resultobj
;
4305 char *_kwnames
[] = { "mask", NULL
};
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4311 wxPy_BEGIN_ALLOW_THREADS
;
4312 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4314 wxPy_END_ALLOW_THREADS
;
4315 } _resultobj
= Py_BuildValue("i",_result
);
4319 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4322 src
= (wxLogStderr
*) ptr
;
4323 dest
= (wxLog
*) src
;
4324 return (void *) dest
;
4327 #define new_wxLogStderr() (new wxLogStderr())
4328 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
* _resultobj
;
4330 wxLogStderr
* _result
;
4331 char *_kwnames
[] = { NULL
};
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4338 wxPy_BEGIN_ALLOW_THREADS
;
4339 _result
= (wxLogStderr
*)new_wxLogStderr();
4341 wxPy_END_ALLOW_THREADS
;
4343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4344 _resultobj
= Py_BuildValue("s",_ptemp
);
4347 _resultobj
= Py_None
;
4352 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4355 src
= (wxLogTextCtrl
*) ptr
;
4356 dest
= (wxLog
*) src
;
4357 return (void *) dest
;
4360 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4361 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
* _resultobj
;
4363 wxLogTextCtrl
* _result
;
4365 PyObject
* _argo0
= 0;
4366 char *_kwnames
[] = { "pTextCtrl", NULL
};
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4380 wxPy_BEGIN_ALLOW_THREADS
;
4381 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4383 wxPy_END_ALLOW_THREADS
;
4385 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4386 _resultobj
= Py_BuildValue("s",_ptemp
);
4389 _resultobj
= Py_None
;
4394 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4397 src
= (wxLogGui
*) ptr
;
4398 dest
= (wxLog
*) src
;
4399 return (void *) dest
;
4402 #define new_wxLogGui() (new wxLogGui())
4403 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
* _resultobj
;
4406 char *_kwnames
[] = { NULL
};
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4413 wxPy_BEGIN_ALLOW_THREADS
;
4414 _result
= (wxLogGui
*)new_wxLogGui();
4416 wxPy_END_ALLOW_THREADS
;
4418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4419 _resultobj
= Py_BuildValue("s",_ptemp
);
4422 _resultobj
= Py_None
;
4427 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4430 src
= (wxLogWindow
*) ptr
;
4431 dest
= (wxLog
*) src
;
4432 return (void *) dest
;
4435 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4436 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
* _resultobj
;
4438 wxLogWindow
* _result
;
4441 bool _arg2
= (bool ) TRUE
;
4442 bool _arg3
= (bool ) TRUE
;
4443 PyObject
* _argo0
= 0;
4444 int tempbool2
= (int) TRUE
;
4445 int tempbool3
= (int) TRUE
;
4446 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4459 _arg2
= (bool ) tempbool2
;
4460 _arg3
= (bool ) tempbool3
;
4462 wxPy_BEGIN_ALLOW_THREADS
;
4463 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4465 wxPy_END_ALLOW_THREADS
;
4467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4468 _resultobj
= Py_BuildValue("s",_ptemp
);
4471 _resultobj
= Py_None
;
4476 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4477 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
* _resultobj
;
4479 wxLogWindow
* _arg0
;
4480 bool _arg1
= (bool ) TRUE
;
4481 PyObject
* _argo0
= 0;
4482 int tempbool1
= (int) TRUE
;
4483 char *_kwnames
[] = { "self","bShow", NULL
};
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4495 _arg1
= (bool ) tempbool1
;
4497 wxPy_BEGIN_ALLOW_THREADS
;
4498 wxLogWindow_Show(_arg0
,_arg1
);
4500 wxPy_END_ALLOW_THREADS
;
4501 } Py_INCREF(Py_None
);
4502 _resultobj
= Py_None
;
4506 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
4507 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
* _resultobj
;
4510 wxLogWindow
* _arg0
;
4511 PyObject
* _argo0
= 0;
4512 char *_kwnames
[] = { "self", NULL
};
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
4519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4526 wxPy_BEGIN_ALLOW_THREADS
;
4527 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
4529 wxPy_END_ALLOW_THREADS
;
4531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
4532 _resultobj
= Py_BuildValue("s",_ptemp
);
4535 _resultobj
= Py_None
;
4540 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
4541 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
* _resultobj
;
4544 wxLogWindow
* _arg0
;
4545 PyObject
* _argo0
= 0;
4546 char *_kwnames
[] = { "self", NULL
};
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
4553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
4560 wxPy_BEGIN_ALLOW_THREADS
;
4561 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
4563 wxPy_END_ALLOW_THREADS
;
4565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4566 _resultobj
= Py_BuildValue("s",_ptemp
);
4569 _resultobj
= Py_None
;
4574 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
4575 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
* _resultobj
;
4578 wxLogWindow
* _arg0
;
4579 PyObject
* _argo0
= 0;
4580 char *_kwnames
[] = { "self", NULL
};
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
4586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
4593 wxPy_BEGIN_ALLOW_THREADS
;
4594 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
4596 wxPy_END_ALLOW_THREADS
;
4597 } _resultobj
= Py_BuildValue("i",_result
);
4601 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
4602 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
* _resultobj
;
4604 wxLogWindow
* _arg0
;
4606 PyObject
* _argo0
= 0;
4608 char *_kwnames
[] = { "self","bDoPass", NULL
};
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
4614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
4620 _arg1
= (bool ) tempbool1
;
4622 wxPy_BEGIN_ALLOW_THREADS
;
4623 wxLogWindow_PassMessages(_arg0
,_arg1
);
4625 wxPy_END_ALLOW_THREADS
;
4626 } Py_INCREF(Py_None
);
4627 _resultobj
= Py_None
;
4631 #define new_wxLogNull() (new wxLogNull())
4632 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
* _resultobj
;
4634 wxLogNull
* _result
;
4635 char *_kwnames
[] = { NULL
};
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
4642 wxPy_BEGIN_ALLOW_THREADS
;
4643 _result
= (wxLogNull
*)new_wxLogNull();
4645 wxPy_END_ALLOW_THREADS
;
4647 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
4648 _resultobj
= Py_BuildValue("s",_ptemp
);
4651 _resultobj
= Py_None
;
4656 #define delete_wxLogNull(_swigobj) (delete _swigobj)
4657 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
* _resultobj
;
4660 PyObject
* _argo0
= 0;
4661 char *_kwnames
[] = { "self", NULL
};
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
4667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
4669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
4674 wxPy_BEGIN_ALLOW_THREADS
;
4675 delete_wxLogNull(_arg0
);
4677 wxPy_END_ALLOW_THREADS
;
4678 } Py_INCREF(Py_None
);
4679 _resultobj
= Py_None
;
4683 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
4684 wxProcessEvent
*src
;
4686 src
= (wxProcessEvent
*) ptr
;
4687 dest
= (wxEvent
*) src
;
4688 return (void *) dest
;
4691 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
4692 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
* _resultobj
;
4694 wxProcessEvent
* _result
;
4695 int _arg0
= (int ) 0;
4696 int _arg1
= (int ) 0;
4697 int _arg2
= (int ) 0;
4698 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4705 wxPy_BEGIN_ALLOW_THREADS
;
4706 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
4708 wxPy_END_ALLOW_THREADS
;
4710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
4711 _resultobj
= Py_BuildValue("s",_ptemp
);
4714 _resultobj
= Py_None
;
4719 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
4720 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
* _resultobj
;
4723 wxProcessEvent
* _arg0
;
4724 PyObject
* _argo0
= 0;
4725 char *_kwnames
[] = { "self", NULL
};
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
4731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
4738 wxPy_BEGIN_ALLOW_THREADS
;
4739 _result
= (int )wxProcessEvent_GetPid(_arg0
);
4741 wxPy_END_ALLOW_THREADS
;
4742 } _resultobj
= Py_BuildValue("i",_result
);
4746 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
4747 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
* _resultobj
;
4750 wxProcessEvent
* _arg0
;
4751 PyObject
* _argo0
= 0;
4752 char *_kwnames
[] = { "self", NULL
};
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
4758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
4765 wxPy_BEGIN_ALLOW_THREADS
;
4766 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
4768 wxPy_END_ALLOW_THREADS
;
4769 } _resultobj
= Py_BuildValue("i",_result
);
4773 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
4774 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
* _resultobj
;
4777 wxProcessEvent
* _arg0
;
4779 PyObject
* _argo0
= 0;
4780 char *_kwnames
[] = { "self","m_pid", NULL
};
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
4786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
4793 wxPy_BEGIN_ALLOW_THREADS
;
4794 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
4796 wxPy_END_ALLOW_THREADS
;
4797 } _resultobj
= Py_BuildValue("i",_result
);
4801 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
4802 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
* _resultobj
;
4805 wxProcessEvent
* _arg0
;
4806 PyObject
* _argo0
= 0;
4807 char *_kwnames
[] = { "self", NULL
};
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
4813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
4820 wxPy_BEGIN_ALLOW_THREADS
;
4821 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
4823 wxPy_END_ALLOW_THREADS
;
4824 } _resultobj
= Py_BuildValue("i",_result
);
4828 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
4829 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
* _resultobj
;
4832 wxProcessEvent
* _arg0
;
4834 PyObject
* _argo0
= 0;
4835 char *_kwnames
[] = { "self","m_exitcode", NULL
};
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
4841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
4848 wxPy_BEGIN_ALLOW_THREADS
;
4849 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
4851 wxPy_END_ALLOW_THREADS
;
4852 } _resultobj
= Py_BuildValue("i",_result
);
4856 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
4857 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4860 wxProcessEvent
* _arg0
;
4861 PyObject
* _argo0
= 0;
4862 char *_kwnames
[] = { "self", NULL
};
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
4868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
4875 wxPy_BEGIN_ALLOW_THREADS
;
4876 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
4878 wxPy_END_ALLOW_THREADS
;
4879 } _resultobj
= Py_BuildValue("i",_result
);
4883 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
4886 src
= (wxPyProcess
*) ptr
;
4887 dest
= (wxEvtHandler
*) src
;
4888 return (void *) dest
;
4891 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
4892 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
* _resultobj
;
4894 wxPyProcess
* _result
;
4895 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
4896 int _arg1
= (int ) -1;
4897 PyObject
* _argo0
= 0;
4898 char *_kwnames
[] = { "parent","id", NULL
};
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
4905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
4907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
4912 wxPy_BEGIN_ALLOW_THREADS
;
4913 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
4915 wxPy_END_ALLOW_THREADS
;
4917 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
4918 _resultobj
= Py_BuildValue("s",_ptemp
);
4921 _resultobj
= Py_None
;
4926 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
4927 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4929 wxPyProcess
* _arg0
;
4930 PyObject
* _argo0
= 0;
4931 char *_kwnames
[] = { "self", NULL
};
4934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
4937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
4944 wxPy_BEGIN_ALLOW_THREADS
;
4945 wxPyProcess_Destroy(_arg0
);
4947 wxPy_END_ALLOW_THREADS
;
4948 } Py_INCREF(Py_None
);
4949 _resultobj
= Py_None
;
4953 #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
4954 static PyObject
*_wrap_wxProcess__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
* _resultobj
;
4956 wxPyProcess
* _arg0
;
4959 PyObject
* _argo0
= 0;
4960 PyObject
* _obj1
= 0;
4961 PyObject
* _obj2
= 0;
4962 char *_kwnames
[] = { "self","self","_class", NULL
};
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p.");
4981 wxPy_BEGIN_ALLOW_THREADS
;
4982 wxProcess__setSelf(_arg0
,_arg1
,_arg2
);
4984 wxPy_END_ALLOW_THREADS
;
4985 } Py_INCREF(Py_None
);
4986 _resultobj
= Py_None
;
4990 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
4991 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
* _resultobj
;
4993 wxPyProcess
* _arg0
;
4996 PyObject
* _argo0
= 0;
4997 char *_kwnames
[] = { "self","pid","status", NULL
};
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5010 wxPy_BEGIN_ALLOW_THREADS
;
5011 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5013 wxPy_END_ALLOW_THREADS
;
5014 } Py_INCREF(Py_None
);
5015 _resultobj
= Py_None
;
5019 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5020 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
* _resultobj
;
5022 wxPyProcess
* _arg0
;
5023 PyObject
* _argo0
= 0;
5024 char *_kwnames
[] = { "self", NULL
};
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5037 wxPy_BEGIN_ALLOW_THREADS
;
5038 wxProcess_Redirect(_arg0
);
5040 wxPy_END_ALLOW_THREADS
;
5041 } Py_INCREF(Py_None
);
5042 _resultobj
= Py_None
;
5046 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5047 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
* _resultobj
;
5050 wxPyProcess
* _arg0
;
5051 PyObject
* _argo0
= 0;
5052 char *_kwnames
[] = { "self", NULL
};
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5065 wxPy_BEGIN_ALLOW_THREADS
;
5066 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5068 wxPy_END_ALLOW_THREADS
;
5069 } _resultobj
= Py_BuildValue("i",_result
);
5073 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5074 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
* _resultobj
;
5076 wxPyProcess
* _arg0
;
5077 PyObject
* _argo0
= 0;
5078 char *_kwnames
[] = { "self", NULL
};
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5091 wxPy_BEGIN_ALLOW_THREADS
;
5092 wxProcess_Detach(_arg0
);
5094 wxPy_END_ALLOW_THREADS
;
5095 } Py_INCREF(Py_None
);
5096 _resultobj
= Py_None
;
5100 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5101 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
* _resultobj
;
5103 wxInputStream
* _result
;
5104 wxPyProcess
* _arg0
;
5105 PyObject
* _argo0
= 0;
5106 char *_kwnames
[] = { "self", NULL
};
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5119 wxPy_BEGIN_ALLOW_THREADS
;
5120 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5122 wxPy_END_ALLOW_THREADS
;
5124 wxPyInputStream
* _ptr
= NULL
;
5127 _ptr
= new wxPyInputStream(_result
);
5131 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
5133 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
5136 _resultobj
= Py_None
;
5138 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
5139 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
5143 PyObject
* one
= PyInt_FromLong(1);
5144 PyObject_SetAttrString(_resultobj
, "thisown", one
);
5149 _resultobj
= Py_None
;
5155 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5156 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
* _resultobj
;
5158 wxInputStream
* _result
;
5159 wxPyProcess
* _arg0
;
5160 PyObject
* _argo0
= 0;
5161 char *_kwnames
[] = { "self", NULL
};
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5174 wxPy_BEGIN_ALLOW_THREADS
;
5175 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5177 wxPy_END_ALLOW_THREADS
;
5179 wxPyInputStream
* _ptr
= NULL
;
5182 _ptr
= new wxPyInputStream(_result
);
5186 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
5188 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
5191 _resultobj
= Py_None
;
5193 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
5194 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
5198 PyObject
* one
= PyInt_FromLong(1);
5199 PyObject_SetAttrString(_resultobj
, "thisown", one
);
5204 _resultobj
= Py_None
;
5210 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5211 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
* _resultobj
;
5213 wxOutputStream
* _result
;
5214 wxPyProcess
* _arg0
;
5215 PyObject
* _argo0
= 0;
5216 char *_kwnames
[] = { "self", NULL
};
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5230 wxPy_BEGIN_ALLOW_THREADS
;
5231 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5233 wxPy_END_ALLOW_THREADS
;
5235 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5236 _resultobj
= Py_BuildValue("s",_ptemp
);
5239 _resultobj
= Py_None
;
5244 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5245 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
* _resultobj
;
5247 wxPyProcess
* _arg0
;
5248 PyObject
* _argo0
= 0;
5249 char *_kwnames
[] = { "self", NULL
};
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5262 wxPy_BEGIN_ALLOW_THREADS
;
5263 wxProcess_CloseOutput(_arg0
);
5265 wxPy_END_ALLOW_THREADS
;
5266 } Py_INCREF(Py_None
);
5267 _resultobj
= Py_None
;
5271 static PyMethodDef misc2cMethods
[] = {
5272 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
5273 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
5274 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
5275 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
5276 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
5277 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
5278 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
5279 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
5280 { "wxProcess__setSelf", (PyCFunction
) _wrap_wxProcess__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
5281 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5282 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
5283 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
5284 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
5285 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
5286 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
5287 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
5288 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
5289 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
5290 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
5291 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
5292 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
5293 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
5294 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
5295 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5296 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
5297 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
5298 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
5299 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
5300 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
5301 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
5302 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
5303 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
5304 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
5305 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
5306 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
5307 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
5308 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
5309 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
5310 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
5311 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
5312 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
5313 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
5314 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
5315 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
5316 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
5317 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
5318 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
5319 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
5320 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
5321 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
5322 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
5323 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
5324 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
5325 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
5326 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
5327 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
5328 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
5329 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
5330 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
5331 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
5332 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
5333 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
5334 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
5335 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
5336 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
5337 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
5338 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
5339 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
5340 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
5341 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
5342 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
5343 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
5344 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5345 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5346 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
5347 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
5348 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
5349 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
5350 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
5351 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
5352 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
5353 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
5354 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
5355 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
5356 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
5357 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
5358 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
5359 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
5360 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
5361 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
5362 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5363 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
5364 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
5365 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
5366 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
5367 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
5368 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
5369 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
5370 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
5371 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
5372 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
5373 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
5374 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
5375 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
5376 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
5377 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
5378 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
5379 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
5380 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
5381 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
5382 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
5383 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
5384 { "wxDragListItem", (PyCFunction
) _wrap_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
5385 { "wxDragTreeItem", (PyCFunction
) _wrap_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
5386 { "wxDragString", (PyCFunction
) _wrap_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
5387 { "wxDragIcon", (PyCFunction
) _wrap_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
5388 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
5389 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
5390 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
5391 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
5392 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
5393 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
5394 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
5395 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
5396 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
5397 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
5398 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
5399 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
5400 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
5401 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
5402 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
5403 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
5404 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
5405 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
5406 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5407 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
5408 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
5409 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
5410 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5411 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
5412 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
5413 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
5414 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
5415 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
5416 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
5417 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
5418 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
5419 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
5420 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
5421 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
5422 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
5423 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
5424 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
5425 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
5432 * This table is used by the pointer type-checker
5434 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5435 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5436 { "_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
5437 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
5438 { "_wxEvent","_class_wxEvent",0},
5439 { "_class_wxActivateEvent","_wxActivateEvent",0},
5440 { "_signed_long","_long",0},
5441 { "_wxMenuEvent","_class_wxMenuEvent",0},
5442 { "_class_wxProcessEvent","_wxProcessEvent",0},
5443 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
5444 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
5445 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5446 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
5447 { "_wxPrintQuality","_wxCoord",0},
5448 { "_wxPrintQuality","_int",0},
5449 { "_wxPrintQuality","_signed_int",0},
5450 { "_wxPrintQuality","_unsigned_int",0},
5451 { "_wxPrintQuality","_wxWindowID",0},
5452 { "_wxPrintQuality","_uint",0},
5453 { "_wxPrintQuality","_EBool",0},
5454 { "_wxPrintQuality","_size_t",0},
5455 { "_wxPrintQuality","_time_t",0},
5456 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
5457 { "_class_wxRegionIterator","_wxRegionIterator",0},
5458 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
5459 { "_class_wxMenuBar","_wxMenuBar",0},
5460 { "_class_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
5461 { "_class_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
5462 { "_class_wxEvtHandler","_wxEvtHandler",0},
5463 { "_wxPaintEvent","_class_wxPaintEvent",0},
5464 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5465 { "_wxCursor","_class_wxCursor",0},
5466 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5467 { "_wxPyProcess","_class_wxPyProcess",0},
5468 { "_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
5469 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
5470 { "_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
5471 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
5472 { "_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
5473 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
5474 { "_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
5475 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
5476 { "_wxLog","_class_wxLog",0},
5477 { "_wxMask","_class_wxMask",0},
5478 { "_wxToolTip","_class_wxToolTip",0},
5479 { "_wxPen","_class_wxPen",0},
5480 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5481 { "_byte","_unsigned_char",0},
5482 { "_wxDataObject","_class_wxDataObject",0},
5483 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
5484 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
5485 { "_wxPyDropSource","_class_wxPyDropSource",0},
5486 { "_long","_unsigned_long",0},
5487 { "_long","_signed_long",0},
5488 { "_wxImageList","_class_wxImageList",0},
5489 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
5490 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5491 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5492 { "_class_wxClipboard","_wxClipboard",0},
5493 { "_wxDC","_class_wxDC",0},
5494 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
5495 { "_wxSpinEvent","_class_wxSpinEvent",0},
5496 { "_size_t","_wxCoord",0},
5497 { "_size_t","_wxPrintQuality",0},
5498 { "_size_t","_time_t",0},
5499 { "_size_t","_unsigned_int",0},
5500 { "_size_t","_int",0},
5501 { "_size_t","_wxWindowID",0},
5502 { "_size_t","_uint",0},
5503 { "_class_wxRealPoint","_wxRealPoint",0},
5504 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5505 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5506 { "_wxLogGui","_class_wxLogGui",0},
5507 { "_class_wxMenuItem","_wxMenuItem",0},
5508 { "_class_wxPaintEvent","_wxPaintEvent",0},
5509 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5510 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5511 { "_wxPanel","_class_wxPanel",0},
5512 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5513 { "_wxPyEvent","_class_wxPyEvent",0},
5514 { "_class_wxMask","_wxMask",0},
5515 { "_wxTextDataObject","_class_wxTextDataObject",0},
5516 { "_class_wxKeyEvent","_wxKeyEvent",0},
5517 { "_class_wxToolTip","_wxToolTip",0},
5518 { "_wxColour","_class_wxColour",0},
5519 { "_class_wxDialog","_wxDialog",0},
5520 { "_wxBusyCursor","_class_wxBusyCursor",0},
5521 { "_class_wxFileDataObject","_wxFileDataObject",0},
5522 { "_wxIdleEvent","_class_wxIdleEvent",0},
5523 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5524 { "_class_wxDataObject","_wxDataObject",0},
5525 { "_wxCaret","_class_wxCaret",0},
5526 { "_wxBrush","_class_wxBrush",0},
5527 { "_wxDataFormat","_class_wxDataFormat",0},
5528 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
5529 { "_wxShowEvent","_class_wxShowEvent",0},
5530 { "_uint","_wxCoord",0},
5531 { "_uint","_wxPrintQuality",0},
5532 { "_uint","_time_t",0},
5533 { "_uint","_size_t",0},
5534 { "_uint","_unsigned_int",0},
5535 { "_uint","_int",0},
5536 { "_uint","_wxWindowID",0},
5537 { "_wxChar","_char",0},
5538 { "_wxPyValidator","_class_wxPyValidator",0},
5539 { "_class_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
5540 { "_class_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
5541 { "_class_wxEvent","_wxEvent",0},
5542 { "_wxRect","_class_wxRect",0},
5543 { "_wxCommandEvent","_class_wxCommandEvent",0},
5544 { "_wxSizeEvent","_class_wxSizeEvent",0},
5545 { "_class_wxLogWindow","_wxLogWindow",0},
5546 { "_wxPoint","_class_wxPoint",0},
5547 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
5548 { "_char","_wxChar",0},
5549 { "_wxBitmap","_class_wxBitmap",0},
5550 { "_wxWindowDC","_class_wxWindowDC",0},
5551 { "_wxTimerEvent","_class_wxTimerEvent",0},
5552 { "_wxPyTimer","_class_wxPyTimer",0},
5553 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5554 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5555 { "_class_wxValidator","_wxValidator",0},
5556 { "_class_wxPyEvent","_wxPyEvent",0},
5557 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5558 { "_class_wxBusyCursor","_wxBusyCursor",0},
5559 { "_wxDropTarget","_class_wxDropTarget",0},
5560 { "_wxScrollEvent","_class_wxScrollEvent",0},
5561 { "_EBool","_wxCoord",0},
5562 { "_EBool","_wxPrintQuality",0},
5563 { "_EBool","_signed_int",0},
5564 { "_EBool","_int",0},
5565 { "_EBool","_wxWindowID",0},
5566 { "_class_wxRegion","_wxRegion",0},
5567 { "_class_wxDataFormat","_wxDataFormat",0},
5568 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5569 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5570 { "_wxFont","_class_wxFont",0},
5571 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
5572 { "_wxCloseEvent","_class_wxCloseEvent",0},
5573 { "_wxProcessEvent","_class_wxProcessEvent",0},
5574 { "_unsigned_long","_long",0},
5575 { "_class_wxRect","_wxRect",0},
5576 { "_class_wxDC","_wxDC",0},
5577 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5578 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
5579 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5580 { "_wxPyInputStream","_class_wxPyInputStream",0},
5581 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5582 { "_class_wxOutputStream","_wxOutputStream",0},
5583 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
5584 { "_wxFocusEvent","_class_wxFocusEvent",0},
5585 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5586 { "_class_wxTimerEvent","_wxTimerEvent",0},
5587 { "_class_wxPyTimer","_wxPyTimer",0},
5588 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5589 { "_class_wxPanel","_wxPanel",0},
5590 { "_signed_int","_wxCoord",0},
5591 { "_signed_int","_wxPrintQuality",0},
5592 { "_signed_int","_EBool",0},
5593 { "_signed_int","_wxWindowID",0},
5594 { "_signed_int","_int",0},
5595 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5596 { "_class_wxTextDataObject","_wxTextDataObject",0},
5597 { "_wxMenu","_class_wxMenu",0},
5598 { "_class_wxMoveEvent","_wxMoveEvent",0},
5599 { "_wxScreenDC","_class_wxScreenDC",0},
5600 { "_WXTYPE","_short",0},
5601 { "_WXTYPE","_signed_short",0},
5602 { "_WXTYPE","_unsigned_short",0},
5603 { "_class_wxDropTarget","_wxDropTarget",0},
5604 { "_class_wxCaret","_wxCaret",0},
5605 { "_class_wxBrush","_wxBrush",0},
5606 { "_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
5607 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
5608 { "_wxTipProvider","_class_wxTipProvider",0},
5609 { "_unsigned_short","_WXTYPE",0},
5610 { "_unsigned_short","_short",0},
5611 { "_class_wxWindow","_wxWindow",0},
5612 { "_class_wxLogStderr","_wxLogStderr",0},
5613 { "_class_wxFont","_wxFont",0},
5614 { "_wxClipboard","_class_wxClipboard",0},
5615 { "_class_wxPyValidator","_wxPyValidator",0},
5616 { "_class_wxCloseEvent","_wxCloseEvent",0},
5617 { "_wxBusyInfo","_class_wxBusyInfo",0},
5618 { "_class_wxMenuEvent","_wxMenuEvent",0},
5619 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5620 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
5621 { "_wxClientDC","_class_wxClientDC",0},
5622 { "_wxMouseEvent","_class_wxMouseEvent",0},
5623 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
5624 { "_class_wxPoint","_wxPoint",0},
5625 { "_class_wxPyInputStream","_wxPyInputStream",0},
5626 { "_wxRealPoint","_class_wxRealPoint",0},
5627 { "_signed_short","_WXTYPE",0},
5628 { "_signed_short","_short",0},
5629 { "_wxMemoryDC","_class_wxMemoryDC",0},
5630 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
5631 { "_wxPaintDC","_class_wxPaintDC",0},
5632 { "_class_wxWindowDC","_wxWindowDC",0},
5633 { "_class_wxFocusEvent","_wxFocusEvent",0},
5634 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5635 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5636 { "_class_wxCursor","_wxCursor",0},
5637 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5638 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
5639 { "_class_wxPyProcess","_wxPyProcess",0},
5640 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5641 { "_class_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
5642 { "_class_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
5643 { "_class_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
5644 { "_class_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
5645 { "_class_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
5646 { "_class_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
5647 { "_class_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
5648 { "_class_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
5649 { "_class_wxLog","_wxLog",0},
5650 { "_unsigned_char","_byte",0},
5651 { "_class_wxMenu","_wxMenu",0},
5652 { "_unsigned_int","_wxCoord",0},
5653 { "_unsigned_int","_wxPrintQuality",0},
5654 { "_unsigned_int","_time_t",0},
5655 { "_unsigned_int","_size_t",0},
5656 { "_unsigned_int","_uint",0},
5657 { "_unsigned_int","_wxWindowID",0},
5658 { "_unsigned_int","_int",0},
5659 { "_wxIcon","_class_wxIcon",0},
5660 { "_wxDialog","_class_wxDialog",0},
5661 { "_class_wxPen","_wxPen",0},
5662 { "_short","_WXTYPE",0},
5663 { "_short","_unsigned_short",0},
5664 { "_short","_signed_short",0},
5665 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
5666 { "_class_wxPyDropSource","_wxPyDropSource",0},
5667 { "_class_wxScrollEvent","_wxScrollEvent",0},
5668 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5669 { "_class_wxImageList","_wxImageList",0},
5670 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
5671 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5672 { "_wxWindowID","_wxCoord",0},
5673 { "_wxWindowID","_wxPrintQuality",0},
5674 { "_wxWindowID","_time_t",0},
5675 { "_wxWindowID","_size_t",0},
5676 { "_wxWindowID","_EBool",0},
5677 { "_wxWindowID","_uint",0},
5678 { "_wxWindowID","_int",0},
5679 { "_wxWindowID","_signed_int",0},
5680 { "_wxWindowID","_unsigned_int",0},
5681 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5682 { "_int","_wxCoord",0},
5683 { "_int","_wxPrintQuality",0},
5684 { "_int","_time_t",0},
5685 { "_int","_size_t",0},
5686 { "_int","_EBool",0},
5687 { "_int","_uint",0},
5688 { "_int","_wxWindowID",0},
5689 { "_int","_unsigned_int",0},
5690 { "_int","_signed_int",0},
5691 { "_class_wxMouseEvent","_wxMouseEvent",0},
5692 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5693 { "_wxLogWindow","_class_wxLogWindow",0},
5694 { "_class_wxSpinEvent","_wxSpinEvent",0},
5695 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5696 { "_time_t","_wxCoord",0},
5697 { "_time_t","_wxPrintQuality",0},
5698 { "_time_t","_unsigned_int",0},
5699 { "_time_t","_int",0},
5700 { "_time_t","_wxWindowID",0},
5701 { "_time_t","_uint",0},
5702 { "_time_t","_size_t",0},
5703 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5704 { "_wxLogNull","_class_wxLogNull",0},
5705 { "_wxSize","_class_wxSize",0},
5706 { "_wxRegionIterator","_class_wxRegionIterator",0},
5707 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
5708 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
5709 { "_class_wxLogGui","_wxLogGui",0},
5710 { "_class_wxPaintDC","_wxPaintDC",0},
5711 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5712 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
5713 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5714 { "_wxValidator","_class_wxValidator",0},
5715 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5716 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5717 { "_class_wxIcon","_wxIcon",0},
5718 { "_class_wxColour","_wxColour",0},
5719 { "_class_wxScreenDC","_wxScreenDC",0},
5720 { "_wxPalette","_class_wxPalette",0},
5721 { "_class_wxIdleEvent","_wxIdleEvent",0},
5722 { "_wxCoord","_int",0},
5723 { "_wxCoord","_signed_int",0},
5724 { "_wxCoord","_unsigned_int",0},
5725 { "_wxCoord","_wxWindowID",0},
5726 { "_wxCoord","_uint",0},
5727 { "_wxCoord","_EBool",0},
5728 { "_wxCoord","_size_t",0},
5729 { "_wxCoord","_time_t",0},
5730 { "_wxCoord","_wxPrintQuality",0},
5731 { "_wxEraseEvent","_class_wxEraseEvent",0},
5732 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
5733 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5734 { "_class_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
5735 { "_class_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
5736 { "_class_wxTipProvider","_wxTipProvider",0},
5737 { "_wxRegion","_class_wxRegion",0},
5738 { "_class_wxShowEvent","_wxShowEvent",0},
5739 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
5740 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
5741 { "_wxActivateEvent","_class_wxActivateEvent",0},
5742 { "_class_wxBusyInfo","_wxBusyInfo",0},
5743 { "_class_wxCommandEvent","_wxCommandEvent",0},
5744 { "_class_wxClientDC","_wxClientDC",0},
5745 { "_class_wxSizeEvent","_wxSizeEvent",0},
5746 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
5747 { "_class_wxLogNull","_wxLogNull",0},
5748 { "_class_wxSize","_wxSize",0},
5749 { "_class_wxBitmap","_wxBitmap",0},
5750 { "_class_wxMemoryDC","_wxMemoryDC",0},
5751 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
5752 { "_wxMenuBar","_class_wxMenuBar",0},
5753 { "_wxOutputStream","_class_wxOutputStream",0},
5754 { "_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
5755 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
5756 { "_wxEvtHandler","_class_wxEvtHandler",0},
5757 { "_wxMenuItem","_class_wxMenuItem",0},
5758 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5759 { "_wxKeyEvent","_class_wxKeyEvent",0},
5760 { "_wxMoveEvent","_class_wxMoveEvent",0},
5761 { "_class_wxPalette","_wxPalette",0},
5762 { "_wxFileDataObject","_class_wxFileDataObject",0},
5763 { "_class_wxEraseEvent","_wxEraseEvent",0},
5764 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
5765 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
5766 { "_wxWindow","_class_wxWindow",0},
5767 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5768 { "_wxLogStderr","_class_wxLogStderr",0},
5771 static PyObject
*SWIG_globals
;
5775 SWIGEXPORT(void) initmisc2c() {
5777 SWIG_globals
= SWIG_newvarlink();
5778 m
= Py_InitModule("misc2c", misc2cMethods
);
5779 d
= PyModule_GetDict(m
);
5780 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
5781 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
5782 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
5783 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
5784 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
5785 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
5786 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
5787 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
5788 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
5789 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
5790 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
5791 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
5792 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
5793 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
5794 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
5795 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
5796 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
5797 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
5798 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
5799 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
5800 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
5801 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
5802 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
5803 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
5804 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
5805 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
5806 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
5807 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
5808 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
5809 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
5810 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
5811 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
5812 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
5813 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
5814 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
5815 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
5816 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
5817 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
5818 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
5819 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
5820 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
5821 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
5822 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
5823 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
5824 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
5825 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
5826 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
5827 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
5828 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
5829 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
5830 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
5831 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
5832 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
5833 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
5834 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
5835 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
5836 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
5837 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
5838 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
5839 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
5840 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
5841 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
5842 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
5843 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
5844 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
5845 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
5846 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
5847 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
5848 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
5849 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
5850 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
5851 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
5852 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
5853 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
5854 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
5855 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
5856 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
5857 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
5858 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
5859 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
5860 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
5861 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
5862 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
5863 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
5864 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
5865 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
5866 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
5867 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
5868 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
5869 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
5870 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
5871 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
5872 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
5873 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
5874 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
5875 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
5878 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5879 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);