Compilation fix for wxGTK with GTK+ 3.4 after recent changes

Fix the build after 1033fb048d.

See https://github.com/wxWidgets/wxWidgets/pull/320
This commit is contained in:
Vadim Zeitlin
2016-09-08 01:29:20 +02:00
parent ef85c41d0c
commit 9f9c09e24a

View File

@@ -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;