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")
|
#define wxPG_DIR_DIALOG_MESSAGE wxS("DialogMessage")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
wxArrayStringProperty's string delimiter character. If this is a quotation
|
Built-in attribute to set wxArrayStringProperty's string delimiter
|
||||||
mark or hyphen, then strings will be quoted instead (with given
|
character. If this is a quotation mark or hyphen, then strings
|
||||||
character).
|
will be quoted instead (with given character).
|
||||||
|
|
||||||
Default delimiter is quotation mark.
|
Default delimiter is quotation mark.
|
||||||
*/
|
*/
|
||||||
|
@@ -2923,9 +2923,9 @@ bool wxArrayStringProperty::DoSetAttribute( const wxString& name, wxVariant& val
|
|||||||
{
|
{
|
||||||
m_delimiter = value.GetChar();
|
m_delimiter = value.GetChar();
|
||||||
GenerateValueAsString();
|
GenerateValueAsString();
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user