]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/htmllbox.cpp
Added some column width contrl code.
[wxWidgets.git] / src / generic / htmllbox.cpp
index c70d7b85f42e4dcfc1f0aba25a4bd20b75cb1423..e0b3fd08f1236487dd06acf9e880ab56d73cdb54 100644 (file)
@@ -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
 // ----------------------------------------------------------------------------