File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/System.Windows.Forms/src/System/Windows/Forms Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<MajorVersion >8</MajorVersion >
5
5
<MinorVersion >0</MinorVersion >
6
- <PatchVersion >10 </PatchVersion >
6
+ <PatchVersion >11 </PatchVersion >
7
7
<!-- version in our package name #.#.#-below.#####.## -->
8
8
<PreReleaseVersionLabel >servicing</PreReleaseVersionLabel >
9
9
<PreReleaseVersionIteration >
Original file line number Diff line number Diff line change @@ -1945,11 +1945,13 @@ private unsafe void WmReflectDrawItem(ref Message m)
1945
1945
DRAWITEMSTRUCT * dis = ( DRAWITEMSTRUCT * ) ( nint ) m . LParamInternal ;
1946
1946
1947
1947
using DrawItemEventArgs e = new (
1948
- dis ->hDC . CreateGraphics ( ) ,
1948
+ dis ->hDC ,
1949
1949
Font ,
1950
1950
dis ->rcItem ,
1951
- ( int ) dis ->itemID ,
1952
- ( DrawItemState ) ( int ) dis ->itemState ) ;
1951
+ dis ->itemID ,
1952
+ dis ->itemState ,
1953
+ ForeColor ,
1954
+ BackColor ) ;
1953
1955
1954
1956
OnDrawItem ( e ) ;
1955
1957
You can’t perform that action at this time.
0 commit comments