From 9dbadebe924436c3c658fb5a51c3a22fd9ca8c91 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 18 Dec 2005 12:24:25 +0000 Subject: [PATCH] Should use LoadFile for file, not LoadPage git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/html/test/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/html/test/test.cpp b/samples/html/test/test.cpp index 329bc799ad..71a83a5951 100644 --- a/samples/html/test/test.cpp +++ b/samples/html/test/test.cpp @@ -237,7 +237,7 @@ void MyFrame::OnPageOpen(wxCommandEvent& WXUNUSED(event)) wxEmptyString, wxEmptyString, wxT("HTML files|*.htm")); if (!p.empty()) - m_Html->LoadPage(p); + m_Html->LoadFile(wxFileName(p)); #endif // wxUSE_FILEDLG } -- 2.45.2