X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dedead3227fb6481b80062ee0a6ce95566b81ff3..951f68d01cabb566f1e3015768622c5e040af07a:/include/wx/dcsvg.h diff --git a/include/wx/dcsvg.h b/include/wx/dcsvg.h index 41a25b8082..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 { @@ -86,7 +91,7 @@ class WXDLLIMPEXP_CORE wxSVGFileDC : public wxDC void DoGetSize(int * x, int *y) const { *x = m_width; *y = m_height ; return ; } - void DoGetTextExtent(const wxString& string, wxCoord *w, wxCoord *h, wxCoord *descent = NULL, wxCoord *externalLeading = NULL, wxFont *font = NULL) const ; + void DoGetTextExtent(const wxString& string, wxCoord *w, wxCoord *h, wxCoord *descent = NULL, wxCoord *externalLeading = NULL, const wxFont *font = NULL) const ; void DoSetClippingRegionAsRegion(const class wxRegion &) { wxASSERT_MSG (false, wxT("wxSVGFILEDC::DoSetClippingRegionAsRegion Call not yet implemented")); return ; } @@ -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 ) ;