]> git.saurik.com Git - wxWidgets.git/commitdiff
don't set the label colour in DrawButtonLabel(), this is done by the caller in wxCont...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 17 Dec 2006 13:47:48 +0000 (13:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 17 Dec 2006 13:47:48 +0000 (13:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/univ/themes/mono.cpp

index 221a7162ff1bf471bc0d18b4c13f6174db0376a2..3bf18d39b296e7de601ee1018a1a68c1c86ff106 100644 (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 )