diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-13 06:53:18 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-13 06:53:18 +0100 |
| commit | 688cd87004569c122bf19c127699c5b034492528 (patch) | |
| tree | f77da4165e9019ec96ced6174863c697b14cd959 /src/GraphicObjects/MessageBox.cs | |
| parent | dce9ecfbac5b78476550bfe1fc76a8bdbb3d930b (diff) | |
CrowIDE, ObservableList, include Crow.Coding
Diffstat (limited to 'src/GraphicObjects/MessageBox.cs')
| -rw-r--r-- | src/GraphicObjects/MessageBox.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/MessageBox.cs b/src/GraphicObjects/MessageBox.cs index 7f945810..e1c8cc87 100644 --- a/src/GraphicObjects/MessageBox.cs +++ b/src/GraphicObjects/MessageBox.cs @@ -134,9 +134,9 @@ namespace Crow Cancel.Raise (this, null); close (); } - public static MessageBox Show (Type msgBoxType, string message, string okMsg = "", string cancelMsg = ""){ + public static MessageBox Show (Interface iface, Type msgBoxType, string message, string okMsg = "", string cancelMsg = ""){ //lock (Interface.CurrentInterface.UpdateMutex) { - MessageBox mb = new MessageBox (Interface.CurrentInterface); + MessageBox mb = new MessageBox (iface); mb.CurrentInterface.AddWidget (mb); mb.MsgType = msgBoxType; mb.Message = message; |