Fix DrawStatusField() to work correctly with wxSB_FLAT style.
It didn't draw the text at all before. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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());
|
||||
|
||||
|
Reference in New Issue
Block a user