Skip to content

Commit 3b91a2a

Browse files
authored
Update button parent reference in busy_dialog
1 parent db3aaa4 commit 3b91a2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/xtd.forms.examples/dialogs/busy_dialog/busy_dialog.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
auto dialog = busy_dialog {};

0 commit comments

Comments
 (0)