X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..2028c33ab5a39a12bd410ac953731a56ad6377ba:/src/univ/stdrend.cpp diff --git a/src/univ/stdrend.cpp b/src/univ/stdrend.cpp index ef8af5c391..d9253ac5e3 100644 --- a/src/univ/stdrend.cpp +++ b/src/univ/stdrend.cpp @@ -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());