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
This commit is contained in:
@@ -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)
|
bool wxHtmlWindow::ScrollToAnchor(const wxString& anchor)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user