MCPcopy Create free account
hub / github.com/audacity/audacity / Disable

Method Disable

src/widgets/AButton.cpp:648–663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646}
647
648void AButton::Disable()
649{
650 // Bug 1565: Tooltips not showing on disabled buttons.
651 // The fix is to NOT tell windows that the button is disabled.
652 // The button's appearance will still change to show it is disabled
653 // since we control that rather than windows.
654#ifndef __WXMSW__
655 wxWindow::Enable(false);
656#endif
657 if (GetCapture()==this)
658 ReleaseMouse();
659 if ( mEnabled ) {
660 mEnabled = false;
661 Refresh(false);
662 }
663}
664
665void AButton::PushDown()
666{

Callers 15

ShowHtmlTextMethod · 0.80
OnCancelMethod · 0.80
OnStopMethod · 0.80
ShuttleGui.hFile · 0.80
ProjectsListDialogMethod · 0.80
OnGridSelectMethod · 0.80
AudioListDialogMethod · 0.80
OnGridSelectMethod · 0.80
LinkWithTokenDialogMethod · 0.80
OnContinueMethod · 0.80
LayoutControlsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected