]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlwin.cpp
removed USE_SHARED_LIBRARIES
[wxWidgets.git] / src / html / htmlwin.cpp
index 86885419ac69e510ce647c3d3a74525793364c57..8f7ec80830f2dda7a8fd3c735aecdd9fca32b5c2 100644 (file)
@@ -26,7 +26,6 @@
 #endif
 
 #include "wx/html/htmlwin.h"
-
 #include "wx/html/forcelnk.h"
 
 
@@ -99,7 +98,7 @@ void wxHtmlWindow::SetFonts(wxString normal_face, int normal_italic_mode, wxStri
     wxString op = m_OpenedPage;
 
     m_Parser -> SetFonts(normal_face, normal_italic_mode, fixed_face, fixed_italic_mode, sizes);
-    SetPage(wxT("")); // fonts changed => contents invalid
+    SetPage(wxT("<html><body></body></html>")); // fonts changed => contents invalid
     if (!op.IsEmpty()) LoadPage(op);
 }
 
@@ -312,7 +311,7 @@ void wxHtmlWindow::ReadCustomization(wxConfigBase *cfg, wxString path)
         tmp.Printf(wxT("wxHtmlWindow/FontsSize%i"), i);
         p_fontsizes[i] = cfg -> Read(tmp, m_Parser -> m_FontsSizes[i]);
     }
-    m_Parser -> SetFonts(p_ffn, p_imn, p_fff, p_imf, p_fontsizes);
+    SetFonts(p_ffn, p_imn, p_fff, p_imf, p_fontsizes);
 
     if (path != wxEmptyString)
         cfg -> SetPath(oldpath);