reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-05-26 22:38:46 +00:00
parent 0cc77ca0e7
commit a187dc0b2a
7 changed files with 70 additions and 0 deletions

View File

@ -2647,6 +2647,7 @@ ART_COPY = cvar.ART_COPY
ART_CUT = cvar.ART_CUT
ART_PASTE = cvar.ART_PASTE
ART_DELETE = cvar.ART_DELETE
ART_NEW = cvar.ART_NEW
ART_UNDO = cvar.ART_UNDO
ART_REDO = cvar.ART_REDO
ART_QUIT = cvar.ART_QUIT

View File

@ -2388,6 +2388,7 @@ static PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
static const wxString wxPyART_CUT(wxART_CUT);
static const wxString wxPyART_PASTE(wxART_PASTE);
static const wxString wxPyART_DELETE(wxART_DELETE);
static const wxString wxPyART_NEW(wxART_NEW);
static const wxString wxPyART_UNDO(wxART_UNDO);
static const wxString wxPyART_REDO(wxART_REDO);
static const wxString wxPyART_QUIT(wxART_QUIT);
@ -16488,6 +16489,26 @@ static PyObject *_wrap_ART_DELETE_get(void) {
}
static int _wrap_ART_NEW_set(PyObject *) {
PyErr_SetString(PyExc_TypeError,"Variable ART_NEW is read-only.");
return 1;
}
static PyObject *_wrap_ART_NEW_get(void) {
PyObject *pyobj;
{
#if wxUSE_UNICODE
pyobj = PyUnicode_FromWideChar((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
#else
pyobj = PyString_FromStringAndSize((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
#endif
}
return pyobj;
}
static int _wrap_ART_UNDO_set(PyObject *) {
PyErr_SetString(PyExc_TypeError,"Variable ART_UNDO is read-only.");
return 1;
@ -33913,6 +33934,7 @@ SWIGEXPORT(void) SWIG_init(void) {
SWIG_addvarlink(SWIG_globals,(char*)"ART_CUT",_wrap_ART_CUT_get, _wrap_ART_CUT_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_PASTE",_wrap_ART_PASTE_get, _wrap_ART_PASTE_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_DELETE",_wrap_ART_DELETE_get, _wrap_ART_DELETE_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW",_wrap_ART_NEW_get, _wrap_ART_NEW_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_UNDO",_wrap_ART_UNDO_get, _wrap_ART_UNDO_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_REDO",_wrap_ART_REDO_get, _wrap_ART_REDO_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_QUIT",_wrap_ART_QUIT_get, _wrap_ART_QUIT_set);

View File

@ -2647,6 +2647,7 @@ ART_COPY = cvar.ART_COPY
ART_CUT = cvar.ART_CUT
ART_PASTE = cvar.ART_PASTE
ART_DELETE = cvar.ART_DELETE
ART_NEW = cvar.ART_NEW
ART_UNDO = cvar.ART_UNDO
ART_REDO = cvar.ART_REDO
ART_QUIT = cvar.ART_QUIT

View File

@ -2382,6 +2382,7 @@ static PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
static const wxString wxPyART_CUT(wxART_CUT);
static const wxString wxPyART_PASTE(wxART_PASTE);
static const wxString wxPyART_DELETE(wxART_DELETE);
static const wxString wxPyART_NEW(wxART_NEW);
static const wxString wxPyART_UNDO(wxART_UNDO);
static const wxString wxPyART_REDO(wxART_REDO);
static const wxString wxPyART_QUIT(wxART_QUIT);
@ -16480,6 +16481,26 @@ static PyObject *_wrap_ART_DELETE_get(void) {
}
static int _wrap_ART_NEW_set(PyObject *) {
PyErr_SetString(PyExc_TypeError,"Variable ART_NEW is read-only.");
return 1;
}
static PyObject *_wrap_ART_NEW_get(void) {
PyObject *pyobj;
{
#if wxUSE_UNICODE
pyobj = PyUnicode_FromWideChar((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
#else
pyobj = PyString_FromStringAndSize((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
#endif
}
return pyobj;
}
static int _wrap_ART_UNDO_set(PyObject *) {
PyErr_SetString(PyExc_TypeError,"Variable ART_UNDO is read-only.");
return 1;
@ -33974,6 +33995,7 @@ SWIGEXPORT(void) SWIG_init(void) {
SWIG_addvarlink(SWIG_globals,(char*)"ART_CUT",_wrap_ART_CUT_get, _wrap_ART_CUT_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_PASTE",_wrap_ART_PASTE_get, _wrap_ART_PASTE_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_DELETE",_wrap_ART_DELETE_get, _wrap_ART_DELETE_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW",_wrap_ART_NEW_get, _wrap_ART_NEW_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_UNDO",_wrap_ART_UNDO_get, _wrap_ART_UNDO_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_REDO",_wrap_ART_REDO_get, _wrap_ART_REDO_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_QUIT",_wrap_ART_QUIT_get, _wrap_ART_QUIT_set);

View File

@ -2647,6 +2647,7 @@ ART_COPY = cvar.ART_COPY
ART_CUT = cvar.ART_CUT
ART_PASTE = cvar.ART_PASTE
ART_DELETE = cvar.ART_DELETE
ART_NEW = cvar.ART_NEW
ART_UNDO = cvar.ART_UNDO
ART_REDO = cvar.ART_REDO
ART_QUIT = cvar.ART_QUIT

View File

@ -2382,6 +2382,7 @@ static PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
static const wxString wxPyART_CUT(wxART_CUT);
static const wxString wxPyART_PASTE(wxART_PASTE);
static const wxString wxPyART_DELETE(wxART_DELETE);
static const wxString wxPyART_NEW(wxART_NEW);
static const wxString wxPyART_UNDO(wxART_UNDO);
static const wxString wxPyART_REDO(wxART_REDO);
static const wxString wxPyART_QUIT(wxART_QUIT);
@ -16479,6 +16480,26 @@ static PyObject *_wrap_ART_DELETE_get(void) {
}
static int _wrap_ART_NEW_set(PyObject *) {
PyErr_SetString(PyExc_TypeError,"Variable ART_NEW is read-only.");
return 1;
}
static PyObject *_wrap_ART_NEW_get(void) {
PyObject *pyobj;
{
#if wxUSE_UNICODE
pyobj = PyUnicode_FromWideChar((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
#else
pyobj = PyString_FromStringAndSize((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
#endif
}
return pyobj;
}
static int _wrap_ART_UNDO_set(PyObject *) {
PyErr_SetString(PyExc_TypeError,"Variable ART_UNDO is read-only.");
return 1;
@ -33973,6 +33994,7 @@ SWIGEXPORT(void) SWIG_init(void) {
SWIG_addvarlink(SWIG_globals,(char*)"ART_CUT",_wrap_ART_CUT_get, _wrap_ART_CUT_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_PASTE",_wrap_ART_PASTE_get, _wrap_ART_PASTE_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_DELETE",_wrap_ART_DELETE_get, _wrap_ART_DELETE_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW",_wrap_ART_NEW_get, _wrap_ART_NEW_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_UNDO",_wrap_ART_UNDO_get, _wrap_ART_UNDO_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_REDO",_wrap_ART_REDO_get, _wrap_ART_REDO_set);
SWIG_addvarlink(SWIG_globals,(char*)"ART_QUIT",_wrap_ART_QUIT_get, _wrap_ART_QUIT_set);

View File

@ -443,6 +443,7 @@ wxART_COPY = wx._misc.ART_COPY
wxART_CUT = wx._misc.ART_CUT
wxART_PASTE = wx._misc.ART_PASTE
wxART_DELETE = wx._misc.ART_DELETE
wxART_NEW = wx._misc.ART_NEW
wxART_UNDO = wx._misc.ART_UNDO
wxART_REDO = wx._misc.ART_REDO
wxART_QUIT = wx._misc.ART_QUIT