fixed refresh bug in wxHtmlWindow
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 21 Jul 1999 09:59:47 +0000 (09:59 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 21 Jul 1999 09:59:47 +0000 (09:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlwin.cpp

index b0077c8b1a9530b06607ba5f166ebf6c1330baf6..493d0c35d606073c1c4e198350a3c8e99a3dde20 100644 (file)
@@ -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