1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-05 06:39:26 +02:00

Bug2026: drawing channel separator on Windows...

... This shouldn't make a difference, but it does.  I suspect MSVC 2017
compiler bugs still remain in implementing braced initialization.
This commit is contained in:
Paul Licameli 2018-11-06 20:17:14 -05:00
parent 50cf2e9a1f
commit 03e67b9bcd

View File

@ -1769,7 +1769,7 @@ void TrackPanel::DrawSash(
rec.width -= labelw - rec.x;
rec.x = labelw;
dc->DrawRectangle( wxRect{ rec }.Inflate( 0, -kBorderThickness ) );
dc->DrawRectangle( wxRect( rec ).Inflate( 0, -kBorderThickness ) );
// These lines stroke over what is otherwise "border" of each channel
dc->SetBrush(*wxTRANSPARENT_BRUSH);