Message.Warning() now has only one "cancel" default button.

[GB.GUI.BASE]
* BUG: Message.Warning() now has only one "cancel" default button.
This commit is contained in:
gambas 2021-02-01 01:23:31 +01:00
parent 1249ebd2f9
commit 1389b908f0

View file

@ -42,7 +42,7 @@ End
Static Public Sub Warning((Message) As String, Optional Button1 As String, Button2 As String, Button3 As String) As Integer
Return FMessage.Run("warning", Message, [Button1, Button2, Button3], [("Apply"), ("Cancel")])
Return FMessage.Run("warning", Message, [Button1, Button2, Button3], [("Cancel")])
End