Skip to content

Commit f236f3a

Browse files
committed
Add parameter name for clarity on ComCtl controls
1 parent 943b0f5 commit f236f3a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/thirtytwo/Controls/ButtonControl.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Windows;
77

88
public partial class ButtonControl : Control
99
{
10-
private static readonly WindowClass s_buttonClass = new("Button");
10+
private static readonly WindowClass s_buttonClass = new(registeredClassName: "Button");
1111

1212
public ButtonControl(
1313
Rectangle bounds = default,

src/thirtytwo/Controls/StaticControl.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
namespace Windows;
77

8-
public partial class StaticControl : Window
8+
public partial class StaticControl : Control
99
{
10-
private static readonly WindowClass s_buttonClass = new("Static");
10+
private static readonly WindowClass s_buttonClass = new(registeredClassName: "Static");
1111

1212
public StaticControl(
1313
Rectangle bounds = default,

0 commit comments

Comments
 (0)