]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/htmllbox.cpp
use wxLanguageInfo::GetLocaleName() instead of Desscription which can't be passed...
[wxWidgets.git] / src / generic / htmllbox.cpp
index fb819ab3e64de579c6e82d923a14af29bffe127c..796b5070c3988b45d28e186b3a3136d5f4deb4fd 100644 (file)
@@ -464,7 +464,7 @@ wxPoint wxHtmlListBox::GetRootCellCoords(size_t n) const
 
 bool wxHtmlListBox::PhysicalCoordsToCell(wxPoint& pos, wxHtmlCell*& cell) const
 {
-    int n = HitTest(pos);
+    int n = VirtualHitTest(pos.y);
     if ( n == wxNOT_FOUND )
         return false;
 
@@ -603,6 +603,11 @@ void wxSimpleHtmlListBox::DoClear()
     UpdateCount();
 }
 
+void wxSimpleHtmlListBox::Clear()
+{
+    DoClear();
+}
+
 void wxSimpleHtmlListBox::DoDeleteOneItem(unsigned int n)
 {
     m_items.RemoveAt(n);