diff --git a/contrib/include/wx/svg/dcsvg.h b/contrib/include/wx/svg/dcsvg.h index 9e9b8c7b0f..3417f5e375 100644 --- a/contrib/include/wx/svg/dcsvg.h +++ b/contrib/include/wx/svg/dcsvg.h @@ -282,6 +282,8 @@ class WXDLLIMPEXP_SVG wxSVGFileDC : public wxDC void SetBrush(const wxBrush& brush) ; + void SetTextForeground (const wxColour& textForegroundColour ) ; + void SetFont(const wxFont& font) ; void SetLogicalFunction(int WXUNUSED(function)) diff --git a/contrib/src/svg/dcsvg.cpp b/contrib/src/svg/dcsvg.cpp index adf6290026..a55ba30050 100644 --- a/contrib/src/svg/dcsvg.cpp +++ b/contrib/src/svg/dcsvg.cpp @@ -595,6 +595,13 @@ void wxSVGFileDC::NewGraphics () wxASSERT_MSG(!wxSVG_DEBUG, wxT("wxSVGFileDC::NewGraphics Call executed")) ; } +void wxSVGFileDC::SetTextForeground ( const wxColour& textForegroundColour ) +{ + m_textForegroundColour = textForegroundColour ; + + wxASSERT_MSG(!wxSVG_DEBUG, wxT("wxSVGFileDC::SetSetTextForeground Call executed")) ; +} + void wxSVGFileDC::SetFont(const wxFont& font)