1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-05 06:01:04 +01:00

Fix ruler background on GTK

This commit is contained in:
Leland Lucius
2015-05-19 02:39:42 -05:00
parent 97ea29cd8c
commit 21d69946e4

View File

@@ -1559,11 +1559,10 @@ void RulerPanel::OnPaint(wxPaintEvent & WXUNUSED(evt))
{
wxPaintDC dc(this);
#if defined(__WXGTK__)
dc.SetBackground(wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)));
#if defined(__WXMSW__)
dc.Clear();
#endif
dc.Clear();
ruler.Draw(dc);
}