]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/choice.cpp
somehow log target wasn't being created automatically anymore. Restored.
[wxWidgets.git] / src / msw / choice.cpp
index 2945076d06597fdb53d1a98224d17e05632c3c1b..61119e6b67b43a9e8f3388d82ec3045e7418be12 100644 (file)
@@ -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;