Make wxPG_ATTR_MULTICHOICE_USERSTRINGMODE a built-in attribute

This attribute is used only internally in wxArrayStringProperty and thus can be considered as a built-in attribute which value can be stored in the local data member and not in the property's attribute store.
This commit is contained in:
Artur Wieczorek
2019-04-22 11:45:32 +02:00
parent 36285e7fb8
commit cd1dafb619
3 changed files with 22 additions and 10 deletions

View File

@@ -197,9 +197,9 @@ struct wxPGPaintData
*/
#define wxPG_ATTR_SPINCTRL_MOTION wxS("MotionSpin")
/** wxMultiChoiceProperty, @c int. If 0, no user strings allowed. If 1, user
strings appear before list strings. If 2, user strings appear after list
string.
/** Built-in attribute of wxMultiChoiceProperty, @c int type. Default value
is 0. If set to 0, no user strings allowed. If 1, user strings appear
before list strings. If 2, user strings appear after list string.
*/
#define wxPG_ATTR_MULTICHOICE_USERSTRINGMODE wxS("UserStringMode")