From: Václav Slavík Date: Wed, 21 Jul 1999 09:59:47 +0000 (+0000) Subject: fixed refresh bug in wxHtmlWindow X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/483ff5a5af3703dbdf86e95d3709f6ffce5abaf5?ds=inline fixed refresh bug in wxHtmlWindow git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index b0077c8b1a..493d0c35d6 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -170,8 +170,9 @@ bool wxHtmlWindow::LoadPage(const wxString& location) wxString err; err.Printf(_("The browser is unable to open requested location :\n\n%s"), WXSTRINGCAST location); - wxMessageBox(err, "Error"); m_tmpCanDraw = TRUE; + Refresh(); + wxMessageBox(err, "Error"); return FALSE; } @@ -539,4 +540,4 @@ FORCE_LINK(mod_links) FORCE_LINK(mod_tables) -#endif \ No newline at end of file +#endif