aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/MessageBox.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-13 06:53:18 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-13 06:53:18 +0100
commit01cdc32b1ccc12743b06c306aa3d931c6f322d67 (patch)
treed163bbc564b9b7aad1b82f622e3cf5315fe1973f /src/GraphicObjects/MessageBox.cs
parent673466d57ed603eb5c336ab9c09c7d8a74ec3b02 (diff)
CrowIDE, ObservableList, include Crow.Coding
Diffstat (limited to 'src/GraphicObjects/MessageBox.cs')
-rw-r--r--src/GraphicObjects/MessageBox.cs4
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;