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:
@@ -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.
|
||||
*/
|
||||
|
@@ -2923,10 +2923,10 @@ bool wxArrayStringProperty::DoSetAttribute( const wxString& name, wxVariant& val
|
||||
{
|
||||
m_delimiter = value.GetChar();
|
||||
GenerateValueAsString();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// wxPGInDialogValidator
|
||||
|
Reference in New Issue
Block a user