Updated to fix formatting style for multi-line if.

This commit is contained in:
Paul Kulchenko
2019-10-11 15:01:21 -07:00
parent fc75497794
commit ab439fcdee

View File

@@ -676,8 +676,10 @@ wxSize wxAuiGenericTabArt::GetTabSize(wxDC& dc,
// if the close button is showing, add space for it
if (close_button_state != wxAUI_BUTTON_STATE_HIDDEN)
{
// increase by button size plus the padding
tab_width += wnd->FromDIP(16) + wnd->FromDIP(3);
}
// if there's a bitmap, add space for it
if (bitmap.IsOk())