Skip to content

Commit 2424d5c

Browse files
authored
Update panel.cpp
1 parent d769ded commit 2424d5c

File tree

1 file changed

+2
-2
lines changed
  • examples/xtd.forms.examples/containers/panel/src

1 file changed

+2
-2
lines changed

examples/xtd.forms.examples/containers/panel/src/panel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ class form1 : public form {
77
location({200, 200});
88
client_size({640, 480});
99

10-
panel1.parent(*this);
10+
panel1.parent(self_);
1111
panel1.border_style(forms::border_style::fixed_single);
1212
panel1.location({10, 10});
1313
panel1.size({305, 460});
1414
panel1.anchor(anchor_styles::top | anchor_styles::left | anchor_styles::bottom);
1515

16-
panel2.parent(*this);
16+
panel2.parent(self_);
1717
panel2.border_style(forms::border_style::fixed_3d);
1818
panel2.location({325, 10});
1919
panel2.size({305, 460});

0 commit comments

Comments
 (0)