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

Don't forget to translate

This commit is contained in:
Paul Licameli 2016-05-01 17:33:17 -04:00
parent d3c0c94e17
commit a914c92935

View File

@ -1915,7 +1915,7 @@ wxFont &AdornedRulerPanel::GetButtonFont() const
auto button = static_cast<Button>(ii);
auto allowableWidth = GetButtonRect(button).GetWidth() - 2;
// 2 corresponds with the Inflate(-1, -1)
GetParent()->GetTextExtent(PushbuttonLabels[ii],
GetParent()->GetTextExtent(wxGetTranslation(PushbuttonLabels[ii]),
&width,
&height,
NULL,