]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/stdrend.cpp
Add default constructor to wxGraphicsGradientStop.
[wxWidgets.git] / src / univ / stdrend.cpp
index ef8af5c39153da4ea9cd5a2a713b70191c2811cf..d9253ac5e35acd56a790167ca8a7009aad8df969 100644 (file)
@@ -892,6 +892,8 @@ void wxStdRenderer::DrawStatusField(wxDC& dc,
         DrawBorder(dc, wxBORDER_RAISED, rect, flags, &rectIn);
     else if ( style != wxSB_FLAT )
         DrawBorder(dc, wxBORDER_STATIC, rect, flags, &rectIn);
+    else
+        rectIn = rect;
 
     rectIn.Deflate(GetStatusBarFieldMargins());