diff --git a/samples/help/demo.cpp b/samples/help/demo.cpp index 26a1e6f8cb..d01ed11b09 100644 --- a/samples/help/demo.cpp +++ b/samples/help/demo.cpp @@ -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