]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gaugemsw.cpp
Added Pop-up menus.
[wxWidgets.git] / src / msw / gaugemsw.cpp
index 65a40182392366f1dfc8a009596da93d079b4187..38f5192969c3573b3501dfff3304239ccda06030 100644 (file)
@@ -154,6 +154,8 @@ void wxGaugeMSW::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))
   {