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:
@@ -2388,6 +2388,7 @@ wxArrayStringProperty::wxArrayStringProperty( const wxString& label,
|
|||||||
const wxArrayString& array )
|
const wxArrayString& array )
|
||||||
: wxPGProperty(label,name)
|
: wxPGProperty(label,name)
|
||||||
{
|
{
|
||||||
|
m_delimiter = '"';
|
||||||
SetValue( array );
|
SetValue( array );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2455,9 +2456,8 @@ wxArrayStringProperty::ArrayStringToString( wxString& dst,
|
|||||||
|
|
||||||
if ( flags & Escape )
|
if ( flags & Escape )
|
||||||
{
|
{
|
||||||
preas[0] = delimiter;
|
preas = delimiter;
|
||||||
pdr = wxS("\\");
|
pdr = wxS("\\") + static_cast<wchar_t>(delimiter);
|
||||||
pdr += delimiter;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( itemCount )
|
if ( itemCount )
|
||||||
|
Reference in New Issue
Block a user