Skip to content

Commit 761fdcd

Browse files
author
Mirroring
committed
Merge commit '34d50cec8fdaab7df254ddb217084c9be32cdc8b'
2 parents 72cac59 + 34d50ce commit 761fdcd

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<MajorVersion>8</MajorVersion>
55
<MinorVersion>0</MinorVersion>
6-
<PatchVersion>10</PatchVersion>
6+
<PatchVersion>11</PatchVersion>
77
<!-- version in our package name #.#.#-below.#####.## -->
88
<PreReleaseVersionLabel>servicing</PreReleaseVersionLabel>
99
<PreReleaseVersionIteration>

src/System.Windows.Forms/src/System/Windows/Forms/TabControl.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,11 +1945,13 @@ private unsafe void WmReflectDrawItem(ref Message m)
19451945
DRAWITEMSTRUCT* dis = (DRAWITEMSTRUCT*)(nint)m.LParamInternal;
19461946

19471947
using DrawItemEventArgs e = new(
1948-
dis->hDC.CreateGraphics(),
1948+
dis->hDC,
19491949
Font,
19501950
dis->rcItem,
1951-
(int)dis->itemID,
1952-
(DrawItemState)(int)dis->itemState);
1951+
dis->itemID,
1952+
dis->itemState,
1953+
ForeColor,
1954+
BackColor);
19531955

19541956
OnDrawItem(e);
19551957

0 commit comments

Comments
 (0)