Fixes #803. Init and Shutdown only run once.

This commit is contained in:
BDisp
2020-07-17 01:20:22 +01:00
parent 2fe5e08f6b
commit cf5527a917
6 changed files with 28 additions and 44 deletions

View File

@@ -274,7 +274,7 @@ static class Demo {
text.Text = System.IO.File.ReadAllText (fname);
win.Add (text);
Application.Run (ntop, false);
Application.Run (ntop);
}
static bool Quit ()
@@ -680,7 +680,7 @@ static class Demo {
top.Add (win);
//top.Add (menu);
top.Add (menu, statusBar);
Application.Run (top, false);
Application.Run (top);
}
private static void Win_KeyPress (View.KeyEventEventArgs e)