X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47b378bd88260611387af8604a1c8f62355350ab..951f68d01cabb566f1e3015768622c5e040af07a:/include/wx/dcsvg.h?ds=sidebyside diff --git a/include/wx/dcsvg.h b/include/wx/dcsvg.h index ac14323287..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 ; } @@ -248,10 +253,10 @@ class WXDLLIMPEXP_CORE wxSVGFileDC : public wxDC void GetClippingBox(wxCoord *WXUNUSED(x), wxCoord *WXUNUSED(y), wxCoord * WXUNUSED(width), wxCoord * WXUNUSED(height)) { wxASSERT_MSG (false, wxT("wxSVGFILEDC::GetClippingBox Call not yet implemented")); return ; } - int GetLogicalFunction() + int GetLogicalFunction() const { wxASSERT_MSG (false, wxT("wxSVGFILEDC::GetLogicalFunction() Call not implemented")); return wxCOPY ; } - int GetMapMode() ; + int GetMapMode() const ; bool GetPixel(wxCoord x, wxCoord y, wxColour *colour) { return DoGetPixel (x, y, colour) ; } @@ -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 ) ;