From 210bb741b94a7a4a015de730017c3576afe7a8f1 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Thu, 26 Apr 2007 11:11:28 +0000 Subject: [PATCH] remove warnings of intentionally unreachable code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dcsvg.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/wx/dcsvg.h b/include/wx/dcsvg.h index db556ab5ae..f700ffd07c 100644 --- a/include/wx/dcsvg.h +++ b/include/wx/dcsvg.h @@ -17,6 +17,11 @@ #define wxSVGVersion wxT("v0100") +#ifdef __BORLANDC__ +#pragma warn -8008 +#pragma warn -8066 +#endif + class WXDLLIMPEXP_CORE wxSVGFileDC : public wxDC { @@ -285,7 +290,7 @@ class WXDLLIMPEXP_CORE wxSVGFileDC : public wxDC void SetFont(const wxFont& font) ; void SetLogicalFunction(int WXUNUSED(function)) - { wxASSERT_MSG (false, wxT("wxSVGFILEDC::SetLogicalFunction Call implemented")); return ; } + { wxASSERT_MSG (false, wxT("wxSVGFILEDC::SetLogicalFunction Call not implemented")); return ; } void SetLogicalScale( double x, double y ) ; -- 2.45.2