From 8dc15a32078882b5a70ccec09554e7cc81d38d52 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Sun, 1 Mar 2009 13:15:04 +0000 Subject: [PATCH] fix as per thread from http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/111645 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/include/wx/svg/dcsvg.h | 3 +++ contrib/src/svg/dcsvg.cpp | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/contrib/include/wx/svg/dcsvg.h b/contrib/include/wx/svg/dcsvg.h index 3417f5e375..7a237eb2e8 100644 --- a/contrib/include/wx/svg/dcsvg.h +++ b/contrib/include/wx/svg/dcsvg.h @@ -282,7 +282,10 @@ class WXDLLIMPEXP_SVG wxSVGFileDC : public wxDC void SetBrush(const wxBrush& brush) ; +#ifdef __WXMAC__ void SetTextForeground (const wxColour& textForegroundColour ) ; + virtual void DoDrawSpline(wxList *points); +#endif void SetFont(const wxFont& font) ; diff --git a/contrib/src/svg/dcsvg.cpp b/contrib/src/svg/dcsvg.cpp index a55ba30050..eb8cb8348c 100644 --- a/contrib/src/svg/dcsvg.cpp +++ b/contrib/src/svg/dcsvg.cpp @@ -595,6 +595,7 @@ void wxSVGFileDC::NewGraphics () wxASSERT_MSG(!wxSVG_DEBUG, wxT("wxSVGFileDC::NewGraphics Call executed")) ; } +#ifdef __WXMAC__ void wxSVGFileDC::SetTextForeground ( const wxColour& textForegroundColour ) { m_textForegroundColour = textForegroundColour ; @@ -602,6 +603,12 @@ void wxSVGFileDC::SetTextForeground ( const wxColour& textForegroundColour ) wxASSERT_MSG(!wxSVG_DEBUG, wxT("wxSVGFileDC::SetSetTextForeground Call executed")) ; } +void wxSVGFileDC::DoDrawSpline(wxList *points) +{ + wxDCBase::DoDrawSpline(points); +} + +#endif void wxSVGFileDC::SetFont(const wxFont& font)