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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user