X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5637cc3551ae5be79f5c8040552271472a9cdae2..07854e5edda33cdb2c4ff50f545f7a3eb94badc3:/src/msw/choice.cpp

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