X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..1437c7fba67d0276fd14e2be839c0492b087444b:/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());