]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/choice.cpp
use GetLabelText() instead of wxStripMenuCodes() to avoid stripping the part of the...
[wxWidgets.git] / 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