Skip to content

Commit

Permalink
Add parameter name for clarity on ComCtl controls
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyKuhne committed Jul 18, 2024
1 parent 943b0f5 commit f236f3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/thirtytwo/Controls/ButtonControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Windows;

public partial class ButtonControl : Control
{
private static readonly WindowClass s_buttonClass = new("Button");
private static readonly WindowClass s_buttonClass = new(registeredClassName: "Button");

public ButtonControl(
Rectangle bounds = default,
Expand Down
4 changes: 2 additions & 2 deletions src/thirtytwo/Controls/StaticControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

namespace Windows;

public partial class StaticControl : Window
public partial class StaticControl : Control
{
private static readonly WindowClass s_buttonClass = new("Static");
private static readonly WindowClass s_buttonClass = new(registeredClassName: "Static");

public StaticControl(
Rectangle bounds = default,
Expand Down

0 comments on commit f236f3a

Please sign in to comment.