From e19e065d15bc0c1aec62235713f3126f511f7844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 9 Apr 2003 16:02:31 +0000 Subject: [PATCH] forgot to add LoadFile git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlwin.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index 1f5ed0f2f2..b1c0d9e02f 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -345,6 +345,12 @@ bool wxHtmlWindow::LoadPage(const wxString& location) } +bool wxHtmlWindow::LoadFile(const wxFileName& filename) +{ + wxString url = wxFileSystem::FileNameToURL(filename); + return LoadPage(url); +} + bool wxHtmlWindow::ScrollToAnchor(const wxString& anchor) {