X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbcdf8bc7ca806d8278c7cb6d09d5590378b67d8..803bf1c5818154dbff797029441c7de0d85339d5:/src/msw/choice.cpp diff --git a/src/msw/choice.cpp b/src/msw/choice.cpp index 2945076d06..61119e6b67 100644 --- a/src/msw/choice.cpp +++ b/src/msw/choice.cpp @@ -245,8 +245,8 @@ void wxChoice::SetSize(int x, int y, int width, int height, int sizeFlags) } // If non-default width... - if (width >= 0) - control_width = (float)width; + if (w1 >= 0) + control_width = (float)w1; control_height = (float)h1;