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)