wxArrayStringProperty::m_delimiter default value was missing. Also cleaned up relevant string formatting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0fbd8b9bbb
commit
33e478497f
@ -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<wchar_t>(delimiter);
|
||||
}
|
||||
|
||||
if ( itemCount )
|
||||
|
Loading…
Reference in New Issue
Block a user