Fix harmless unused variable warning in the help sample

wxHtmlModalHelp class can be used as a function, there is no need to name the
variable.
This commit is contained in:
Vadim Zeitlin
2016-03-06 22:12:30 +01:00
parent b4d6348c6b
commit 08f060ebd2

View File

@@ -531,7 +531,7 @@ void MyFrame::OnBestHelp(wxCommandEvent& event)
#if USE_HTML_HELP
void MyFrame::OnModalHtmlHelp(wxCommandEvent& WXUNUSED(event))
{
wxHtmlModalHelp modalHelp(this, wxT("doc.zip"), wxT("Introduction"));
wxHtmlModalHelp(this, wxT("doc.zip"), wxT("Introduction"));
}
#endif