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:
parent
97ea29cd8c
commit
21d69946e4
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user