fixing changing text colors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2006-10-11 13:54:03 +00:00
parent ae6a64b6af
commit a51cb1e67b

View File

@@ -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);
}
}