39 items is awfully big
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -477,8 +477,8 @@ void wxChoice::DoSetSize(int x, int y,
|
||||
size_t nItems = GetCount();
|
||||
if ( !nItems )
|
||||
nItems = 9;
|
||||
else if ( nItems > 39 )
|
||||
nItems = 39;
|
||||
else if ( nItems > 24 )
|
||||
nItems = 24;
|
||||
|
||||
// add space for the drop down list
|
||||
const int hItem = SendMessage(GetHwnd(), CB_GETITEMHEIGHT, 0, 0);
|
||||
|
Reference in New Issue
Block a user