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

Method OnHelp

libraries/lib-wx-init/ErrorDialog.cpp:128–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void ErrorDialog::OnHelp(wxCommandEvent & WXUNUSED(event))
129{
130 const auto &str = dhelpPage.GET();
131 if( str.StartsWith(wxT("innerlink:")) )
132 {
133 HelpSystem::ShowHtmlText(
134 this,
135 TitleText(str.Mid( 10 ) ),
136 HelpText( str.Mid( 10 )),
137 false,
138 true );
139 return;
140 }
141 HelpSystem::ShowHelp( this, dhelpPage, dClose );
142 //OpenInDefaultBrowser( dhelpURL );
143 if(dClose)
144 EndModal(true);
145}

Callers

nothing calls this directly

Calls 2

TitleTextFunction · 0.85
HelpTextFunction · 0.85

Tested by

no test coverage detected