X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa61d3525370a9b9fa8c797d9b7f89d96994db5f..68fe70ea1f131471b82747ee2759dba7a19a0c23:/include/wx/msw/checklst.h diff --git a/include/wx/msw/checklst.h b/include/wx/msw/checklst.h index e347ba14fe..4a9ab22815 100644 --- a/include/wx/msw/checklst.h +++ b/include/wx/msw/checklst.h @@ -16,10 +16,10 @@ #error "wxCheckListBox class requires owner-drawn functionality." #endif -class WXDLLEXPORT wxOwnerDrawn; -class WXDLLEXPORT wxCheckListBoxItem; // fwd decl, defined in checklst.cpp +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);