Fix setting wxPG_ARRAY_DELIMITER attribute

This attribute is used only to set internal data member in wxArrayStringProperty and thus can be considered as a built-in attribute which doesn't have to be stored in the property's attribute store.
This commit is contained in:
Artur Wieczorek
2019-04-22 11:19:13 +02:00
parent c96495d3be
commit 36285e7fb8
2 changed files with 5 additions and 5 deletions

View File

@@ -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.
*/

View File

@@ -2923,10 +2923,10 @@ bool wxArrayStringProperty::DoSetAttribute( const wxString& name, wxVariant& val
{
m_delimiter = value.GetChar();
GenerateValueAsString();
return false;
}
return true;
}
return false;
}
// -----------------------------------------------------------------------
// wxPGInDialogValidator