]> git.saurik.com Git - wxWidgets.git/commitdiff
fix consruction of string
authorPaul Cornett <paulcor@bullseye.com>
Wed, 26 Dec 2012 17:32:38 +0000 (17:32 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Wed, 26 Dec 2012 17:32:38 +0000 (17:32 +0000)
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

index 1463a9000c0501599b36fc1dd05ddfa1bb9e47bd..7228b910e7ee61ac97c3ab1f33d5eae25974f103 100644 (file)
@@ -2537,7 +2537,8 @@ wxArrayStringProperty::ArrayStringToString( wxString& dst,
     if ( flags & Escape )
     {
         preas = delimiter;
-        pdr = wxS("\\") + static_cast<wchar_t>(delimiter);
+        pdr = wxS("\\");
+        pdr += delimiter;
     }
 
     if ( itemCount )