mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-12 22:57: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);
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user