From 7acfb99907fb2db289c804cc02a33795481f70ca Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 14 Jan 2002 00:22:17 +0000 Subject: [PATCH] removed wxYield from wxHtmlWindow (seems to work w/o it and yielding caused reentrancy problems) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlwin.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index 5166612f44..0eef9744f0 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -306,7 +306,6 @@ bool wxHtmlWindow::LoadPage(const wxString& location) m_OpenedPage = f->GetLocation(); if (f->GetAnchor() != wxEmptyString) { - wxYield(); ScrollToAnchor(f->GetAnchor()); } @@ -336,7 +335,6 @@ bool wxHtmlWindow::LoadPage(const wxString& location) if (needs_refresh) { - wxYield(); m_tmpCanDrawLocks--; Refresh(); } @@ -494,7 +492,6 @@ bool wxHtmlWindow::HistoryBack() if (a == wxEmptyString) LoadPage(l); else LoadPage(l + wxT("#") + a); m_HistoryOn = TRUE; - wxYield(); m_tmpCanDrawLocks--; Scroll(0, (*m_History)[m_HistoryPos].GetPos()); Refresh(); @@ -525,7 +522,6 @@ bool wxHtmlWindow::HistoryForward() if (a == wxEmptyString) LoadPage(l); else LoadPage(l + wxT("#") + a); m_HistoryOn = TRUE; - wxYield(); m_tmpCanDrawLocks--; Scroll(0, (*m_History)[m_HistoryPos].GetPos()); Refresh(); -- 2.50.0