From e0264d5d024bd469617b8765e214798e3b7a73da Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Thu, 12 Feb 2009 17:55:39 +0000 Subject: [PATCH] fix as in http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/109677/match=2.8+branch+bug+mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/include/wx/svg/dcsvg.h | 2 ++ contrib/src/svg/dcsvg.cpp | 7 +++++++ 2 files changed, 9 insertions(+) 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)