1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-24 23:33:50 +02:00

SetText and GetText deprecated. Use modern equivalents.

This commit is contained in:
James Crook
2017-12-12 13:25:45 +00:00
parent 9735775a8d
commit 3649f39dc5

View File

@@ -694,7 +694,7 @@ UIHandle::Result WaveTrackVZoomHandle::Release
{ {
wxMenuItem *pItem = *iter; wxMenuItem *pItem = *iter;
// Remove accelerator, if any. // Remove accelerator, if any.
pItem->SetText( (pItem->GetText() + "\t" ).BeforeFirst('\t') ); pItem->SetItemLabel( (pItem->GetItemLabel() + "\t" ).BeforeFirst('\t') );
} }
} }