From 9f9c09e24a7f9d86ea51997bd4c55c1ddb7c3159 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 8 Sep 2016 01:29:20 +0200 Subject: [PATCH] Compilation fix for wxGTK with GTK+ 3.4 after recent changes Fix the build after 1033fb048dec849906f76ece25f154e6a61fde4e. See https://github.com/wxWidgets/wxWidgets/pull/320 --- src/unix/utilsx11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/utilsx11.cpp b/src/unix/utilsx11.cpp index bcac79cf09..cc57df7a29 100644 --- a/src/unix/utilsx11.cpp +++ b/src/unix/utilsx11.cpp @@ -2615,7 +2615,7 @@ static bool wxGetKeyStateGTK(wxKeyCode key) break; default: - wxASSERT_MSG(wxS("Unsupported key, only modifiers can be used")); + wxFAIL_MSG(wxS("Unsupported key, only modifiers can be used")); return false; } return state & mask;