From 5a224901b8ede55e1db9980f0fcaf7d2cb49285f Mon Sep 17 00:00:00 2001
From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= <vslavik@fastmail.fm>
Date: Sat, 6 Apr 2002 15:01:56 +0000
Subject: [PATCH] reverted Julian's unintentional breakage of wxChoice

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 src/msw/choice.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/msw/choice.cpp b/src/msw/choice.cpp
index 32b36c3603..2f7587a4f3 100644
--- a/src/msw/choice.cpp
+++ b/src/msw/choice.cpp
@@ -281,8 +281,7 @@ void wxChoice::DoSetSize(int x, int y,
     // the _displayed_ size (NOT the drop down menu size) so
     // setting-getting-setting size would not work.
 
-    wxSize sz = GetSize();
-    wxControl::DoSetSize(x, y, width, sz.y, sizeFlags);
+    wxControl::DoSetSize(x, y, width, -1, sizeFlags);
 }
 
 wxSize wxChoice::DoGetBestSize() const
-- 
2.49.0