Changed wxArrayStringProperty default delimiter to comma. It should allow for better looking and more easily editable property values for common cases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1020,6 +1020,9 @@ without warnings or errors.
|
||||
property's state since it never had any desired side-effects. ChangeFlag()
|
||||
still exists for those who really need to achieve the same effect.
|
||||
|
||||
- wxArrayStringProperty default delimiter is now comma (','), and it can
|
||||
be changed by setting the new "Delimiter" attribute.
|
||||
|
||||
@subsection propgrid_compat_propdev Property and Editor Sub-classing Changes
|
||||
|
||||
- Confusing custom property macros have been eliminated.
|
||||
|
@@ -485,7 +485,8 @@ wxPG_PROP_BEING_DELETED = 0x00200000
|
||||
|
||||
@subsection wxArrayStringProperty
|
||||
|
||||
Allows editing of a list of strings in wxTextCtrl and in a separate dialog.
|
||||
Allows editing of a list of strings in wxTextCtrl and in a separate
|
||||
dialog. Supports "Delimiter" attribute, which defaults to comma (',').
|
||||
|
||||
@subsection wxDateProperty
|
||||
|
||||
|
@@ -2342,7 +2342,7 @@ wxArrayStringProperty::wxArrayStringProperty( const wxString& label,
|
||||
const wxArrayString& array )
|
||||
: wxPGProperty(label,name)
|
||||
{
|
||||
m_delimiter = '"';
|
||||
m_delimiter = ',';
|
||||
SetValue( array );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user