1
0
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:
Leland Lucius 2015-08-24 14:53:01 -05:00
parent d8be1ea3e0
commit b68cbcd012

View File

@ -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