| 275 | } |
| 276 | |
| 277 | void ErrorReportDialog::OnHelp(wxCommandEvent& event) |
| 278 | { |
| 279 | const auto &helpUrl = mHelpUrl.GET(); |
| 280 | if (helpUrl.StartsWith(wxT("innerlink:"))) |
| 281 | { |
| 282 | HelpSystem::ShowHtmlText( |
| 283 | this, TitleText(helpUrl.Mid(10)), HelpText(helpUrl.Mid(10)), false, |
| 284 | true); |
| 285 | return; |
| 286 | } |
| 287 | |
| 288 | HelpSystem::ShowHelp(this, mHelpUrl, false); |
| 289 | } |