Skip to content

Commit

Permalink
fix StaticBox construction
Browse files Browse the repository at this point in the history
  • Loading branch information
mcorino committed Oct 21, 2023
1 parent 260c387 commit 4129958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_std_controls.rb
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def cleanup
attr_reader :box

def test_basic
@box = Wx::StaticBox.new(frame_win, name: 'Box')
@box = Wx::StaticBox.new(frame_win, label: 'Box')

txt = Wx::StaticText.new(box, Wx::ID_ANY, "This window is a child of the staticbox")
assert_equal(box, txt.parent)
Expand Down

0 comments on commit 4129958

Please sign in to comment.