Limit wxListBox best size to 100x100. Particularly important on trunk where

the best size is not cached and will thus keep telling the sizers that the
best size is the full size of the content (i.e. such that you wouldn't need
to scroll it).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2008-02-18 21:51:29 +00:00
parent 861b3043ca
commit c86ec17bcd
2 changed files with 15 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ protected:
// Implementation
// ------------------------------------------------------------------------
public:
virtual wxSize DoGetBestSize() const;
// pure virtuals from wxListBoxBase
virtual bool IsSelected(int n) const;
virtual int GetSelections(wxArrayInt& aSelections) const;