Skip to content

Commit 83ca34e

Browse files
Fix an issue with reading the Formxxx-Properties.
1 parent bcf595c commit 83ca34e

File tree

1 file changed

+1
-1
lines changed
  • src/System.Windows.Forms/src/System/Windows/Forms

1 file changed

+1
-1
lines changed

Diff for: src/System.Windows.Forms/src/System/Windows/Forms/Form.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2542,7 +2542,7 @@ private unsafe Color GetFormAttributeColorInternal(DWMWINDOWATTRIBUTE dmwWindowA
25422542
{
25432543
COLORREF colorRef;
25442544

2545-
PInvoke.DwmSetWindowAttribute(
2545+
PInvoke.DwmGetWindowAttribute(
25462546
HWND,
25472547
dmwWindowAttribute,
25482548
&colorRef,

0 commit comments

Comments
 (0)