diff --git a/include/wx/string.h b/include/wx/string.h index a931a09fae..a39ea5636b 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -2335,7 +2335,7 @@ inline wxCStrData::~wxCStrData() inline wxCStrData::operator bool() const { return !m_str->empty(); -}; +} // simple cases for AsChar() and AsWChar(), the complicated ones are // in string.cpp diff --git a/src/common/dcsvg.cpp b/src/common/dcsvg.cpp index 330b76995f..0fc94d97de 100644 --- a/src/common/dcsvg.cpp +++ b/src/common/dcsvg.cpp @@ -30,7 +30,7 @@ #define semicolon wxString(wxT(";")) #define wx_round(a) (int)((a)+.5) -static inline double DegToRad(double deg) { return (deg * M_PI) / 180.0; } ; +static inline double DegToRad(double deg) { return (deg * M_PI) / 180.0; } wxString wxColStr ( wxColour c ) { @@ -137,17 +137,17 @@ wxSVGFileDC::wxSVGFileDC (wxString f) { // quarter 640x480 screen display at 72 dpi Init (f,320,240,72.0); -}; +} wxSVGFileDC::wxSVGFileDC (wxString f, int Width, int Height) { Init (f,Width,Height,72.0); -}; +} wxSVGFileDC::wxSVGFileDC (wxString f, int Width, int Height, float dpi) { Init (f,Width,Height,dpi); -}; +} wxSVGFileDC::~wxSVGFileDC() { @@ -172,7 +172,7 @@ void wxSVGFileDC::DoDrawLine (wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2) CalcBoundingBox(x1, y1) ; CalcBoundingBox(x2, y2) ; return; -}; +} void wxSVGFileDC::DoDrawLines(int n, wxPoint points[], wxCoord xoffset , wxCoord yoffset ) {