From 8c0f22340e2237511a2fc686f2e990f9ffba713a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 17 Dec 2006 13:47:48 +0000 Subject: [PATCH] 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 --- src/univ/themes/mono.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/univ/themes/mono.cpp b/src/univ/themes/mono.cpp index 221a7162ff..3bf18d39b2 100644 --- a/src/univ/themes/mono.cpp +++ b/src/univ/themes/mono.cpp @@ -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 )