From cb8289465de165d669fca6a97a4a60cfcc9e03b1 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 22 Jul 2004 01:06:37 +0000 Subject: [PATCH] 39 items is awfully big git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/choice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/choice.cpp b/src/msw/choice.cpp index 6abcdaef9a..9abbe7e00f 100644 --- a/src/msw/choice.cpp +++ b/src/msw/choice.cpp @@ -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); -- 2.45.2