// Name: src/html/htmlwin.cpp
// Purpose: wxHtmlWindow class for parsing & displaying HTML (implementation)
// Author: Vaclav Slavik
-// RCS-ID: $Id$
// Copyright: (c) 1999 Vaclav Slavik
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
wxCursor cur;
if (cell)
- cur = cell->GetMouseCursor(m_interface);
+ cur = cell->GetMouseCursorAt(m_interface, pos);
else
cur = m_interface->GetHTMLCursor(
wxHtmlWindowInterface::HTMLCursor_Default);
{
if ( cell )
{
+ // A single cell can have different cursors for different positions,
+ // so update cursor for this case as well.
+ wxCursor cur = cell->GetMouseCursorAt(m_interface, pos);
+ m_interface->GetHTMLWindow()->SetCursor(cur);
+
OnCellMouseHover(cell, pos.x, pos.y);
}
}