Skip to content

Commit 9f7bc2e

Browse files
committed
CancelLabel -> CancelButton
1 parent 8f52eba commit 9f7bc2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GHOSTbackup/GHOSTbackup.UI/CustomMsgBox.vb

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
CustomMsgBox.LeftButton.Visible = False
1818
CustomMsgBox.RightButton.Text = "OK"
1919
CustomMsgBox.AcceptButton = CustomMsgBox.RightButton
20-
CustomMsgBox.CancelLabel = CustomMsgBox.CancelLabel
20+
CustomMsgBox.CancelButton = CustomMsgBox.CancelLabel
2121

2222
Select Case DefaultButton
2323
Case MessageBoxDefaultButton.Button1
@@ -36,7 +36,7 @@
3636
CustomMsgBox.LeftButton.Visible = True
3737
CustomMsgBox.RightButton.Text = "No"
3838
CustomMsgBox.AcceptButton = CustomMsgBox.LeftButton
39-
CustomMsgBox.CancelLabel = CustomMsgBox.CancelLabel
39+
CustomMsgBox.CancelButton = CustomMsgBox.CancelLabel
4040

4141
Select Case DefaultButton
4242
Case MessageBoxDefaultButton.Button1

0 commit comments

Comments
 (0)