]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/choice.cpp
Added missing OGL files; added defaults to wxDocMDIParentFrame; corrected
[wxWidgets.git] / src / msw / choice.cpp
index bc0ab64e1824f13c521d65675e5f1477853bb9ae..c1d7f28406629a5ce458a154b4cde6646c659410 100644 (file)
@@ -192,6 +192,8 @@ void wxChoice::SetSize(int x, int y, int width, int height, int sizeFlags)
   if (y == -1 || (sizeFlags & wxSIZE_ALLOW_MINUS_ONE))
     y1 = currentY;
 
+  AdjustForParentClientOrigin(x1, y1, sizeFlags);
+
   // If we're prepared to use the existing size, then...
   if (width == -1 && height == -1 && ((sizeFlags & wxSIZE_AUTO) != wxSIZE_AUTO))
   {