Skip to content

Commit b387a1f

Browse files
authored
Using self
1 parent 1b70e75 commit b387a1f

File tree

1 file changed

+1
-1
lines changed
  • examples/xtd.forms.examples/controls/list_box/src

1 file changed

+1
-1
lines changed

examples/xtd.forms.examples/controls/list_box/src/list_box.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace list_box_example {
77
text("List box example");
88
client_size({360, 240});
99

10-
layout_panel.parent(*this);
10+
layout_panel.parent(self_);
1111
layout_panel.controls().add_range({list_box_left, list_box_right});
1212
layout_panel.control_layout_style(list_box_left, {size_type::auto_size, true});
1313
layout_panel.control_layout_style(list_box_right, {size_type::auto_size, true});

0 commit comments

Comments
 (0)