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

Method UpdateButtons

libraries/lib-wx-init/HelpSystem.cpp:504–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502
503
504void BrowserDialog::UpdateButtons()
505{
506 wxWindow * pWnd;
507 if( (pWnd = FindWindowById( wxID_BACKWARD, this )) != NULL )
508 {
509 pWnd->Enable(mpHtml->HistoryCanBack());
510 }
511 if( (pWnd = FindWindowById( wxID_FORWARD, this )) != NULL )
512 {
513 pWnd->Enable(mpHtml->HistoryCanForward());
514 }
515}
516
517void OpenInDefaultBrowser(const URLString& link)
518{

Callers 1

OnLinkClickedMethod · 0.45

Calls 1

EnableMethod · 0.45

Tested by

no test coverage detected