1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 09:01:12 +01:00

TranslatableString for tooltips and status bar messages

This commit is contained in:
Paul Licameli
2019-12-08 16:24:20 -05:00
parent 2007346551
commit 49cab86fc1
45 changed files with 156 additions and 165 deletions

View File

@@ -271,8 +271,7 @@ void CellularPanel::HandleMotion
auto oldCell = state.mLastCell.lock();
auto oldHandle = Target();
wxString status{};
TranslatableString tooltip{};
TranslatableString status, tooltip;
wxCursor *pCursor{};
unsigned refreshCode = 0;
@@ -386,7 +385,7 @@ void CellularPanel::HandleMotion
}
else if ( oldCell || oldHandle )
// Leaving a cell or hit test target with no replacement
UpdateStatusMessage( wxString{} );
UpdateStatusMessage( {} );
if (newCell)
ProcessUIHandleResult(newCell.get(), newCell.get(), refreshCode);