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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user