1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 06:09:47 +02:00

Draw diagonal grabber and background in themed colours.

This commit is contained in:
James Crook 2017-04-24 22:35:41 +01:00
parent 03af77387e
commit 621f01abb0

View File

@ -183,10 +183,9 @@ void ToolFrame::OnPaint( wxPaintEvent & WXUNUSED(event) )
wxSize sz = GetSize();
wxRect r;
dc.SetPen( wxColour( 90, 90, 90 ) );
dc.SetPen( theTheme.Colour( clrTrackPanelText) );
#if !defined(__WXMAC__)
wxBrush clearer( wxColour( 60,60,60 ));
wxBrush clearer( theTheme.Colour( clrMedium ));
dc.SetBackground( clearer );
dc.Clear();
dc.SetBrush( *wxTRANSPARENT_BRUSH );