]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fix
authorJulian Smart <julian@anthemion.co.uk>
Wed, 14 Jun 2006 16:31:40 +0000 (16:31 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 14 Jun 2006 16:31:40 +0000 (16:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/choice.cpp

index f5e0ce73f50522ad7f3a065088a01632aafc4e20..67feff05126205e314c375f56253e2e5c324789c 100644 (file)
@@ -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