mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 16:39:30 +02:00
Bug 1685: garbage status bar messages and tooltips, scrub in Windows
This commit is contained in:
parent
558efda20c
commit
812f3649de
@ -270,7 +270,7 @@ int ToolsToolBar::GetDownTool()
|
||||
return firstTool; // Should never happen
|
||||
}
|
||||
|
||||
const wxChar * ToolsToolBar::GetMessageForTool( int ToolNumber ) const
|
||||
wxString ToolsToolBar::GetMessageForTool( int ToolNumber ) const
|
||||
{
|
||||
wxASSERT( ToolNumber >= 0 );
|
||||
wxASSERT( ToolNumber < numTools );
|
||||
|
@ -62,7 +62,7 @@ class ToolsToolBar final : public ToolBar {
|
||||
bool IsDown(int tool) const;
|
||||
int GetDownTool();
|
||||
|
||||
const wxChar * GetMessageForTool( int ToolNumber ) const;
|
||||
wxString GetMessageForTool( int ToolNumber ) const;
|
||||
|
||||
void Populate();
|
||||
void Repaint(wxDC * WXUNUSED(dc)) override {};
|
||||
|
@ -959,9 +959,9 @@ const wxString &Scrubber::GetUntranslatedStateString() const
|
||||
return empty;
|
||||
}
|
||||
|
||||
const wxString & Scrubber::StatusMessageForWave() const
|
||||
wxString Scrubber::StatusMessageForWave() const
|
||||
{
|
||||
static wxString result;
|
||||
wxString result;
|
||||
result = "";
|
||||
|
||||
if( Seeks() )
|
||||
|
@ -130,7 +130,7 @@ public:
|
||||
// A string to put in the leftmost part of the status bar
|
||||
// when scrub or seek is in progress, or else empty.
|
||||
const wxString &GetUntranslatedStateString() const;
|
||||
const wxString &StatusMessageForWave() const;
|
||||
wxString StatusMessageForWave() const;
|
||||
|
||||
// All possible status strings.
|
||||
static std::vector<wxString> GetAllUntranslatedStatusStrings();
|
||||
|
Loading…
x
Reference in New Issue
Block a user