more work on text selection: selecting should work now, but there's no clipboard interaction yet

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-06-01 22:19:15 +00:00
parent 7fb8086de8
commit adf2eb2d34
5 changed files with 247 additions and 49 deletions

View File

@@ -113,7 +113,9 @@ class wxHtmlHelpHtmlWindow : public wxHtmlWindow
virtual void OnLinkClicked(const wxHtmlLinkInfo& link)
{
wxHtmlWindow::OnLinkClicked(link);
m_Frame->NotifyPageChanged();
const wxMouseEvent *e = link.GetEvent();
if (e == NULL || e->LeftUp())
m_Frame->NotifyPageChanged();
}
private: