X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/994141e6cd947341b7075e46616ffb5423600892..8eda5e3588fd5ef0fa91f94991e3cdc744852d3f:/wxPython/contrib/xrc/xrc_wrap.cpp diff --git a/wxPython/contrib/xrc/xrc_wrap.cpp b/wxPython/contrib/xrc/xrc_wrap.cpp index 40abee10ff..516e8bfafb 100644 --- a/wxPython/contrib/xrc/xrc_wrap.cpp +++ b/wxPython/contrib/xrc/xrc_wrap.cpp @@ -504,7 +504,7 @@ SWIG_PyObj_AsLong(PyObject * obj) #ifdef __cplusplus extern "C" { #endif -static int _wrap_UTF8String_set(PyObject *_val) { +static int _wrap_UTF8String_set(PyObject *) { PyErr_SetString(PyExc_TypeError,"Variable UTF8String is read-only."); return 1; } @@ -524,7 +524,7 @@ static PyObject *_wrap_UTF8String_get() { } -static int _wrap_StyleString_set(PyObject *_val) { +static int _wrap_StyleString_set(PyObject *) { PyErr_SetString(PyExc_TypeError,"Variable StyleString is read-only."); return 1; } @@ -544,7 +544,7 @@ static PyObject *_wrap_StyleString_get() { } -static int _wrap_SizeString_set(PyObject *_val) { +static int _wrap_SizeString_set(PyObject *) { PyErr_SetString(PyExc_TypeError,"Variable SizeString is read-only."); return 1; } @@ -564,7 +564,7 @@ static PyObject *_wrap_SizeString_get() { } -static int _wrap_PosString_set(PyObject *_val) { +static int _wrap_PosString_set(PyObject *) { PyErr_SetString(PyExc_TypeError,"Variable PosString is read-only."); return 1; } @@ -584,7 +584,7 @@ static PyObject *_wrap_PosString_get() { } -static int _wrap_BitmapString_set(PyObject *_val) { +static int _wrap_BitmapString_set(PyObject *) { PyErr_SetString(PyExc_TypeError,"Variable BitmapString is read-only."); return 1; } @@ -604,7 +604,7 @@ static PyObject *_wrap_BitmapString_get() { } -static int _wrap_IconString_set(PyObject *_val) { +static int _wrap_IconString_set(PyObject *) { PyErr_SetString(PyExc_TypeError,"Variable IconString is read-only."); return 1; } @@ -624,7 +624,7 @@ static PyObject *_wrap_IconString_get() { } -static int _wrap_FontString_set(PyObject *_val) { +static int _wrap_FontString_set(PyObject *) { PyErr_SetString(PyExc_TypeError,"Variable FontString is read-only."); return 1; }