Skip to content

Commit

Permalink
Fixed eclipse-platform#541 in eclipse 2023-03
Browse files Browse the repository at this point in the history
  • Loading branch information
marioja committed Aug 9, 2023
1 parent 25f3026 commit 721fffa
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ void layoutItems () {
}
}
}

/*
* Feature in Windows. When a tool bar is not flagged TBSTYLE_LIST already (SWT.RIGHT)
* and contains both text and images, but not text + image in a single item,
Expand Down Expand Up @@ -1691,7 +1691,6 @@ LRESULT wmNotifyChild (NMHDR hdr, long wParam, long lParam) {
RECT rect = new RECT (nmcd.left, nmcd.top, nmcd.right, nmcd.bottom);
OS.SetDCBrushColor (nmcd.hdc, child.background);
OS.FillRect (nmcd.hdc, rect, OS.GetStockObject (OS.DC_BRUSH));
result |= OS.TBCDRF_NOBACKGROUND;
}
return new LRESULT (result);
}
Expand Down

0 comments on commit 721fffa

Please sign in to comment.