diff --git a/interface/wx/propgrid/property.h b/interface/wx/propgrid/property.h index f7f2eb9262..841d2615ce 100644 --- a/interface/wx/propgrid/property.h +++ b/interface/wx/propgrid/property.h @@ -164,9 +164,9 @@ struct wxPGPaintData #define wxPG_DIR_DIALOG_MESSAGE wxS("DialogMessage") /** - wxArrayStringProperty's string delimiter character. If this is a quotation - mark or hyphen, then strings will be quoted instead (with given - character). + Built-in attribute to set wxArrayStringProperty's string delimiter + character. If this is a quotation mark or hyphen, then strings + will be quoted instead (with given character). Default delimiter is quotation mark. */ diff --git a/src/propgrid/props.cpp b/src/propgrid/props.cpp index 881bd2ebd0..3dabbd213d 100644 --- a/src/propgrid/props.cpp +++ b/src/propgrid/props.cpp @@ -2923,9 +2923,9 @@ bool wxArrayStringProperty::DoSetAttribute( const wxString& name, wxVariant& val { m_delimiter = value.GetChar(); GenerateValueAsString(); - return false; + return true; } - return true; + return false; } // -----------------------------------------------------------------------