Skip to content

Commit db3aaa4

Browse files
authored
Change button parent to self_ in busy_box.cpp
1 parent cd74476 commit db3aaa4

File tree

1 file changed

+1
-1
lines changed
  • examples/xtd.forms.examples/dialogs/busy_box/src

1 file changed

+1
-1
lines changed

examples/xtd.forms.examples/dialogs/busy_box/src/busy_box.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class form1 : public form {
77

88
button1.auto_size(true);
99
button1.location({10, 10});
10-
button1.parent(*this);
10+
button1.parent(self_);
1111
button1.text("Do something...");
1212
button1.click += delegate_ {
1313
busy_box::show("Please wait while do something...", "Application busy");

0 commit comments

Comments
 (0)