attempt to fix first click problem

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-06-01 23:17:08 +00:00
parent 6d41981d89
commit 73bab6b44d

View File

@@ -771,8 +771,10 @@ void wxHtmlWindow::OnIdle(wxIdleEvent& WXUNUSED(event))
{
m_tmpSelFromCell = m_Cell->FindCellByPos(x, y,
wxHTML_FIND_NEAREST_BEFORE);
#if 0 // FIXME -- needed or not?
if (!m_tmpSelFromCell)
m_tmpSelFromCell = m_Cell->GetFirstTerminal();
#endif
}
else
{