X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5637cc3551ae5be79f5c8040552271472a9cdae2..8bf12709e9db8e709197e3f2c7093dc2a55ee4b4:/src/msw/choice.cpp?ds=sidebyside 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