From: Paul Cornett Date: Wed, 26 Dec 2012 17:32:38 +0000 (+0000) Subject: fix consruction of string X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/63a4b41eda9484b315e499a05aa718b113b20da1 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 --- 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 )