Add DoGetBestSize to wxCheckListBox that adds room for the checkbox

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-06-15 03:23:05 +00:00
parent 5f5183d34b
commit 6d50c6a702
2 changed files with 10 additions and 0 deletions

View File

@@ -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)