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