mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-06 14:52:34 +02:00
Bug 1565 - Windows: Toolbars don't show tooltips when button is disabled
This commit is contained in:
parent
cc38ba34a4
commit
6478895a39
@ -536,7 +536,13 @@ void AButton::Enable()
|
||||
|
||||
void AButton::Disable()
|
||||
{
|
||||
// Bug 1565: Tooltips not showing on disabled buttons.
|
||||
// The fix is to NOT tell windows that the button is disabled.
|
||||
// The button's appearance will still change to show it is disabled
|
||||
// since we control that rather than windows.
|
||||
#ifndef __WXMSW__
|
||||
wxWindow::Enable(false);
|
||||
#endif
|
||||
mEnabled = false;
|
||||
if (GetCapture()==this)
|
||||
ReleaseMouse();
|
||||
|
Loading…
x
Reference in New Issue
Block a user