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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user