]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/checklst.cpp
fix typo (missing closing brackets); add some comments to wxKeyCode; no real change
[wxWidgets.git] / src / msw / checklst.cpp
index fd480f4f705c848a28c36ec7f6970b6131b6ce29..99d72f3e8999f38ccba2706f83a7ea20892ff18f 100644 (file)
@@ -508,20 +508,6 @@ void wxCheckListBox::OnLeftClick(wxMouseEvent& event)
     }
 }
 
-int wxCheckListBox::DoHitTestItem(wxCoord x, wxCoord y) const
-{
-    int nItem = (int)::SendMessage
-                             (
-                              (HWND)GetHWND(),
-                              LB_ITEMFROMPOINT,
-                              0,
-                              MAKELPARAM(x, y)
-                             );
-
-    return nItem >= (int)m_noItems ? wxNOT_FOUND : nItem;
-}
-
-
 wxSize wxCheckListBox::DoGetBestSize() const
 {
     wxSize best = wxListBox::DoGetBestSize();
@@ -530,4 +516,4 @@ wxSize wxCheckListBox::DoGetBestSize() const
     return best;
 }
 
-#endif
+#endif // wxUSE_CHECKLISTBOX