git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14958
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// wxWindows interpretation is different; also, getting the size returns
// the _displayed_ size (NOT the drop down menu size) so
// setting-getting-setting size would not work.
// wxWindows interpretation is different; also, getting the size returns
// the _displayed_ size (NOT the drop down menu size) so
// setting-getting-setting size would not work.
- wxControl::DoSetSize(x, y, width, -1, sizeFlags);
+
+ wxSize sz = GetSize();
+ wxControl::DoSetSize(x, y, width, sz.y, sizeFlags);
}
wxSize wxChoice::DoGetBestSize() const
}
wxSize wxChoice::DoGetBestSize() const