]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlfilt.cpp
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / src / html / htmlfilt.cpp
index b28da2736893aa9e2b2cadfcbdfc25dbff961e4b..9c412c1f7bacf6eff94905d6485ca44f7251136b 100644 (file)
@@ -158,7 +158,7 @@ wxString wxHtmlFilterHTML::ReadFile(const wxFSFile& file) const
     {
         wxString s(_T("<meta http-equiv=\"Content-Type\" content=\""));
         s << file.GetMimeType() <<  _T("\">");
-        return s;
+        return s+doc;
     }
 
     return doc;