1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-12 14:47:43 +02: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); wxPaintDC dc(this);
#if defined(__WXGTK__) #if defined(__WXMSW__)
dc.SetBackground(wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE))); dc.Clear();
#endif #endif
dc.Clear();
ruler.Draw(dc); ruler.Draw(dc);
} }