From 63a4b41eda9484b315e499a05aa718b113b20da1 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Wed, 26 Dec 2012 17:32:38 +0000 Subject: [PATCH] fix consruction of string thanks to clang for finding this one git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/propgrid/props.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/propgrid/props.cpp b/src/propgrid/props.cpp index 1463a9000c..7228b910e7 100644 --- a/src/propgrid/props.cpp +++ b/src/propgrid/props.cpp @@ -2537,7 +2537,8 @@ wxArrayStringProperty::ArrayStringToString( wxString& dst, if ( flags & Escape ) { preas = delimiter; - pdr = wxS("\\") + static_cast(delimiter); + pdr = wxS("\\"); + pdr += delimiter; } if ( itemCount ) -- 2.45.2