don't set the label colour in DrawButtonLabel(), this is done by the caller in wxControlRenderer::DrawLabel()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-12-17 13:47:48 +00:00
parent 388703a573
commit 8c0f22340e

View File

@ -726,7 +726,6 @@ void wxMonoRenderer::DrawButtonLabel(wxDC& dc,
int indexAccel,
wxRect *rectBounds)
{
dc.SetTextForeground(m_penFg.GetColour());
dc.DrawLabel(label, image, rect, alignment, indexAccel, rectBounds);
if ( flags & wxCONTROL_DISABLED )