From 483ff5a5af3703dbdf86e95d3709f6ffce5abaf5 Mon Sep 17 00:00:00 2001
From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= <vslavik@fastmail.fm>
Date: Wed, 21 Jul 1999 09:59:47 +0000
Subject: [PATCH] fixed refresh bug in wxHtmlWindow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 src/html/htmlwin.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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
-- 
2.47.2