From a795a5fd991ca89cf3739da0331822446198b83c Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Wed, 28 Oct 2009 15:57:58 +0000 Subject: [PATCH] Fixed backslash escaping in wxArrayStringProperty::StringToValue() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 4a5442bf9c..ea01f9b7a2 100644 --- a/src/propgrid/props.cpp +++ b/src/propgrid/props.cpp @@ -2574,7 +2574,7 @@ bool wxArrayStringProperty::StringToValue( wxVariant& variant, const wxString& t // Need to replace backslashes with empty characters // (opposite what is done in GenerateValueString). - token.Replace ( wxS("\\"), wxEmptyString, true ); + token.Replace ( wxS("\\\\"), wxS("\\"), true ); arr.Add( token );