git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4603 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
 {
     wxFSFile *f;
     bool rt_val;
-    wxBusyCursor b;
+
+    SetCursor(*wxHOURGLASS_CURSOR);
+    wxYield();
 
     m_tmpCanDraw = FALSE;
     if (m_HistoryOn && (m_HistoryPos != -1)) { // store scroll position into history item
             m_tmpCanDraw = TRUE;
             Refresh();
             wxMessageBox(err, "Error");
+
+            SetCursor(*wxSTANDARD_CURSOR);
             return FALSE;
         }
 
         m_History.Add(new HtmlHistoryItem(m_OpenedPage, m_OpenedAnchor));
     }
 
+    SetCursor(*wxSTANDARD_CURSOR);
+
     m_tmpCanDraw = TRUE;
     Refresh();
     return rt_val;