]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpdata.cpp
Add wxImage::Scale() benchmarks.
[wxWidgets.git] / src / html / helpdata.cpp
index 0b67e4482e6be6149ba9df4ca74a9578468e1efa..0ae98bcb7e62309f5402a737273f8dc8a1629870 100644 (file)
@@ -245,7 +245,7 @@ bool HP_TagHandler::HandleTag(const wxHtmlTag& tag)
 
 wxString wxHtmlBookRecord::GetFullPath(const wxString &page) const
 {
-    if (wxIsAbsolutePath(page))
+    if (wxIsAbsolutePath(page) || page.Find(wxT("file:")) == 0)
         return page;
     else
         return m_BasePath + page;