Make wxPG_COLOUR_HAS_ALPHA a built-in attribute

wxPG_COLOUR_HAS_ALPHA attribute is used only in wxSystemColourProperty (and derived properties) to set respective internal flag so it doesn't have to be stored in the property's attribute store.
This commit is contained in:
Artur Wieczorek
2019-04-21 00:14:13 +02:00
parent ccd877c458
commit 1ee97383f7
2 changed files with 15 additions and 4 deletions

View File

@@ -201,7 +201,8 @@ struct wxPGPaintData
#define wxPG_COLOUR_ALLOW_CUSTOM wxS("AllowCustom")
/**
wxColourProperty and its kind: Set to True in order to support editing
Built-in attribute of wxColourProperty and its kind, @bool type. Default
value is @false. Set this attribute to @true in order to support editing
alpha colour component.
*/
#define wxPG_COLOUR_HAS_ALPHA wxS("HasAlpha")