Make wxPG_FLOAT_PRECISION a built-in wxFloatProperty attribute

wxPG_FLOAT_PRECISION value is used only internally in wxFloatProperty and there is no need to make it readable via getter function.
This commit is contained in:
Artur Wieczorek
2019-04-20 23:24:13 +02:00
parent 76584e2d3c
commit ccd877c458
3 changed files with 3 additions and 14 deletions

View File

@@ -94,9 +94,9 @@ struct wxPGPaintData
*/
#define wxPG_BOOL_USE_DOUBLE_CLICK_CYCLING wxS("UseDClickCycling")
/** wxFloatProperty (and similar) specific, int, default -1. Sets the (max) precision
used when floating point value is rendered as text. The default -1 means infinite
precision.
/** wxFloatProperty (and similar) specific built-in attribute of type @c int.
Default value is -1. Sets the (max) precision used when floating point
value is rendered as text. The default -1 means infinite precision.
*/
#define wxPG_FLOAT_PRECISION wxS("Precision")