From a51cb1e67b9ef58a3b67b3c113cd3ed774d23a13 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 11 Oct 2006 13:54:03 +0000 Subject: [PATCH] fixing changing text colors git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/dccg.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mac/carbon/dccg.cpp b/src/mac/carbon/dccg.cpp index f90a2864dc..3bb0f6f514 100755 --- a/src/mac/carbon/dccg.cpp +++ b/src/mac/carbon/dccg.cpp @@ -1349,7 +1349,9 @@ void wxDC::SetTextForeground( const wxColour &col ) if ( col != m_textForegroundColour ) { m_textForegroundColour = col; - m_graphicContext->SetTextColor( col ) ; + m_graphicContext->SetTextColor( col ); + // in the current implementation the font contains the text color + m_graphicContext->SetFont(m_font); } } -- 2.45.2