+void wxHtmlWindow::SetStandardFonts(int size,
+ const wxString& normal_face,
+ const wxString& fixed_face)
+{
+ wxString op = m_OpenedPage;
+
+ m_Parser->SetStandardFonts(size, normal_face, fixed_face);
+ // fonts changed => contents invalid, so reload the page:
+ SetPage(wxT("<html><body></body></html>"));
+ if (!op.empty())
+ LoadPage(op);
+}