X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c6aabd1ca9a5590d5dd8e89d83a5fba74c69c931..ef787038ecc3f071169e5400cf4202ad2a7d6e5c:/src/propgrid/props.cpp diff --git a/src/propgrid/props.cpp b/src/propgrid/props.cpp index 18fc6860ff..ae059f0e69 100644 --- a/src/propgrid/props.cpp +++ b/src/propgrid/props.cpp @@ -6,7 +6,7 @@ // Created: 2005-05-14 // RCS-ID: $Id$ // Copyright: (c) Jaakko Salli -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // For compilers that support precompilation, includes "wx/wx.h". @@ -2388,6 +2388,7 @@ wxArrayStringProperty::wxArrayStringProperty( const wxString& label, const wxArrayString& array ) : wxPGProperty(label,name) { + m_delimiter = '"'; SetValue( array ); } @@ -2455,9 +2456,8 @@ wxArrayStringProperty::ArrayStringToString( wxString& dst, if ( flags & Escape ) { - preas[0] = delimiter; - pdr = wxS("\\"); - pdr += delimiter; + preas = delimiter; + pdr = wxS("\\") + static_cast(delimiter); } if ( itemCount )