X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..032e024c1c6ab6a20226604baab9d00558620e72:/include/wx/msw/checklst.h?ds=inline diff --git a/include/wx/msw/checklst.h b/include/wx/msw/checklst.h index a632216403..4a9ab22815 100644 --- a/include/wx/msw/checklst.h +++ b/include/wx/msw/checklst.h @@ -19,7 +19,7 @@ class WXDLLIMPEXP_FWD_CORE wxOwnerDrawn; class WXDLLIMPEXP_FWD_CORE wxCheckListBoxItem; // fwd decl, defined in checklst.cpp -class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase +class WXDLLIMPEXP_CORE wxCheckListBox : public wxCheckListBoxBase { public: // ctors @@ -64,10 +64,6 @@ public: virtual bool IsChecked(unsigned int uiIndex) const; virtual void Check(unsigned int uiIndex, bool bCheck = true); - // return the index of the item at this position or wxNOT_FOUND - int HitTest(const wxPoint& pt) const { return DoHitTestItem(pt.x, pt.y); } - int HitTest(wxCoord x, wxCoord y) const { return DoHitTestItem(x, y); } - // accessors size_t GetItemHeight() const { return m_nItemHeight; } @@ -77,9 +73,6 @@ public: virtual bool MSWOnMeasure(WXMEASUREITEMSTRUCT *item); protected: - // this can't be called DoHitTest() because wxWindow already has this method - int DoHitTestItem(wxCoord x, wxCoord y) const; - // pressing space or clicking the check box toggles the item void OnKeyDown(wxKeyEvent& event); void OnLeftClick(wxMouseEvent& event);