From: Václav Slavík Date: Sat, 6 Apr 2002 15:01:56 +0000 (+0000) Subject: reverted Julian's unintentional breakage of wxChoice X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5a224901b8ede55e1db9980f0fcaf7d2cb49285f reverted Julian's unintentional breakage of wxChoice git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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