X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d659d703efbf048771533beaedb807c48f99ee84..0c2f35dc94a4ae971cd2ed2a0c7464dc79cbc731:/src/html/htmlwin.cpp diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index d6fe4c8e02..6120a8b7ba 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -120,7 +120,7 @@ void wxHtmlWinAutoScrollTimer::Notify() //----------------------------------------------------------------------------- // item of history list -class WXDLLEXPORT wxHtmlHistoryItem +class WXDLLIMPEXP_HTML wxHtmlHistoryItem { public: wxHtmlHistoryItem(const wxString& p, const wxString& a) {m_Page = p, m_Anchor = a, m_Pos = 0;} @@ -834,7 +834,7 @@ void wxHtmlWindow::OnPaint(wxPaintEvent& WXUNUSED(event)) y * wxHTML_SCROLL_STEP + rect.GetTop(), y * wxHTML_SCROLL_STEP + rect.GetBottom(), rinfo); - + dcm.SetDeviceOrigin(0,0); dc.Blit(0, rect.GetTop(), sz.x, rect.GetBottom() - rect.GetTop() + 1, @@ -936,7 +936,7 @@ void wxHtmlWindow::OnMouseUp(wxMouseEvent& event) void wxHtmlWindow::OnIdle(wxIdleEvent& WXUNUSED(event)) -{ +{ if (m_tmpMouseMoved && (m_Cell != NULL)) { int xc, yc, x, y; @@ -953,6 +953,9 @@ void wxHtmlWindow::OnIdle(wxIdleEvent& WXUNUSED(event)) m_tmpSelFromPos.y == y && m_tmpSelFromPos.x < x; if ( !m_tmpSelFromCell ) + m_tmpSelFromCell = m_Cell->FindCellByPos( + m_tmpSelFromPos.x,m_tmpSelFromPos.y); + if ( /*still*/ !m_tmpSelFromCell ) { if (goingDown) {