From 0bb555622e4c67c70a8653662e1c17b876755fae Mon Sep 17 00:00:00 2001 From: biwa <6475593+biwa@users.noreply.github.com> Date: Mon, 27 Dec 2021 01:51:10 +0100 Subject: [PATCH] Fixed a crash with Mono that happened because of the placeholder text in the "additional parameters" text box in the testing drop down menu. Fixes #677 --- Source/Core/Controls/PlaceholderToolStripTextBox.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/Controls/PlaceholderToolStripTextBox.cs b/Source/Core/Controls/PlaceholderToolStripTextBox.cs index ce6c324d7..6c8d96730 100644 --- a/Source/Core/Controls/PlaceholderToolStripTextBox.cs +++ b/Source/Core/Controls/PlaceholderToolStripTextBox.cs @@ -69,7 +69,9 @@ namespace CodeImp.DoomBuilder.Controls private void UpdatePlaceholderText() { + #if !MONO_WINFORMS SendMessage(Control.Handle, EM_SETCUEBANNER, 0, placeholder); + #endif } #endregion -- GitLab