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:
parent
388703a573
commit
8c0f22340e
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user