From 36043052e8e74ff1012cd788b8204130ed0a5137 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 14 Jun 2006 16:31:40 +0000 Subject: [PATCH] Compile fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/choice.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/msw/choice.cpp b/src/msw/choice.cpp index f5e0ce73f5..67feff0512 100644 --- a/src/msw/choice.cpp +++ b/src/msw/choice.cpp @@ -505,6 +505,8 @@ void wxChoice::DoSetSize(int x, int y, int width, int height, int sizeFlags) { + int heightOrig = height; + // the height which we must pass to Windows should be the total height of // the control including the drop down list while the height given to us // is, of course, just the height of the permanently visible part of it -- 2.47.2