don't show the I-beam cursor over text in wxHtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -438,6 +438,16 @@ void wxHtmlListBox::SetHTMLStatusText(const wxString& WXUNUSED(text))
|
||||
// nothing to do
|
||||
}
|
||||
|
||||
wxCursor wxHtmlListBox::GetHTMLCursor(HTMLCursor type) const
|
||||
{
|
||||
// we don't want to show text selection cursor in listboxes
|
||||
if (type == HTMLCursor_Text)
|
||||
return wxHtmlWindow::GetDefaultHTMLCursor(HTMLCursor_Default);
|
||||
|
||||
// in all other cases, use the same cursor as wxHtmlWindow:
|
||||
return wxHtmlWindow::GetDefaultHTMLCursor(type);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxHtmlListBox handling of HTML links
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user