Updated to fix formatting style for multi-line if
.
This commit is contained in:
@@ -676,8 +676,10 @@ wxSize wxAuiGenericTabArt::GetTabSize(wxDC& dc,
|
|||||||
|
|
||||||
// if the close button is showing, add space for it
|
// if the close button is showing, add space for it
|
||||||
if (close_button_state != wxAUI_BUTTON_STATE_HIDDEN)
|
if (close_button_state != wxAUI_BUTTON_STATE_HIDDEN)
|
||||||
|
{
|
||||||
// increase by button size plus the padding
|
// increase by button size plus the padding
|
||||||
tab_width += wnd->FromDIP(16) + wnd->FromDIP(3);
|
tab_width += wnd->FromDIP(16) + wnd->FromDIP(3);
|
||||||
|
}
|
||||||
|
|
||||||
// if there's a bitmap, add space for it
|
// if there's a bitmap, add space for it
|
||||||
if (bitmap.IsOk())
|
if (bitmap.IsOk())
|
||||||
|
Reference in New Issue
Block a user