From e4198c149be40062f2889317e417ec04f2d310f5 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sun, 20 Jan 2019 18:41:04 +0100 Subject: [PATCH] Allow entering plus/minus characters for floating point numbers --- src/propgrid/props.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/propgrid/props.cpp b/src/propgrid/props.cpp index d67d9012c7..ab901c567e 100644 --- a/src/propgrid/props.cpp +++ b/src/propgrid/props.cpp @@ -190,7 +190,7 @@ wxNumericPropertyValidator:: } else if ( numericType == Float ) { - allowedChars += wxS("eE"); + allowedChars += wxS("-+eE"); // Use locale-specific decimal point allowedChars += wxString::Format(wxS("%g"), 1.1)[1];