X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/584ad2a32fec156c6049145d7ece9a33213aea28..7c11806499166993dffcbb99139d5b248a2c6c82:/include/wx/msw/checklst.h?ds=inline diff --git a/include/wx/msw/checklst.h b/include/wx/msw/checklst.h index 73385b20da..06901c941c 100644 --- a/include/wx/msw/checklst.h +++ b/include/wx/msw/checklst.h @@ -66,7 +66,7 @@ public: // items may be checked virtual bool IsChecked(size_t uiIndex) const; - virtual void Check(size_t uiIndex, bool bCheck = TRUE); + virtual void Check(size_t 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); } @@ -88,6 +88,8 @@ protected: void OnKeyDown(wxKeyEvent& event); void OnLeftClick(wxMouseEvent& event); + wxSize DoGetBestSize() const; + private: size_t m_nItemHeight; // height of checklistbox items (the same for all)