mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 23:59:37 +02:00
Apparently we now have to contend with gtk2 and gtk3 differeence too :-(
This commit is contained in:
parent
d8be1ea3e0
commit
b68cbcd012
@ -456,7 +456,7 @@ void TrackArtist::DrawTrack(const Track * t,
|
||||
|
||||
bool muted = (hasSolo || t->GetMute()) && !t->GetSolo();
|
||||
|
||||
#if defined(__WXMAC__) || defined(__WXGTK__)
|
||||
#if defined(__WXMAC__)
|
||||
wxAntialiasMode aamode = dc.GetGraphicsContext()->GetAntialiasMode();
|
||||
dc.GetGraphicsContext()->SetAntialiasMode(wxANTIALIAS_NONE);
|
||||
#endif
|
||||
@ -471,7 +471,7 @@ void TrackArtist::DrawTrack(const Track * t,
|
||||
break;
|
||||
}
|
||||
|
||||
#if defined(__WXMAC__) || defined(__WXGTK__)
|
||||
#if defined(__WXMAC__)
|
||||
dc.GetGraphicsContext()->SetAntialiasMode(aamode);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user