diff --git a/include/wx/propgrid/props.h b/include/wx/propgrid/props.h index 358e2891ca..aefe5d6b18 100644 --- a/include/wx/propgrid/props.h +++ b/include/wx/propgrid/props.h @@ -280,7 +280,6 @@ public: const wxString& text, int argFlags = 0 ) const wxOVERRIDE; virtual bool DoSetAttribute( const wxString& name, wxVariant& value ) wxOVERRIDE; - virtual wxVariant DoGetAttribute( const wxString& name ) const wxOVERRIDE; virtual bool ValidateValue( wxVariant& value, wxPGValidationInfo& validationInfo ) const wxOVERRIDE; diff --git a/interface/wx/propgrid/property.h b/interface/wx/propgrid/property.h index 9fea077579..adada0ce19 100644 --- a/interface/wx/propgrid/property.h +++ b/interface/wx/propgrid/property.h @@ -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") diff --git a/src/propgrid/props.cpp b/src/propgrid/props.cpp index d04dcc86b9..3011f787f2 100644 --- a/src/propgrid/props.cpp +++ b/src/propgrid/props.cpp @@ -1038,16 +1038,6 @@ bool wxFloatProperty::DoSetAttribute( const wxString& name, wxVariant& value ) return false; } -wxVariant wxFloatProperty::DoGetAttribute( const wxString& name ) const -{ - wxVariant value; - if ( name == wxPG_FLOAT_PRECISION ) - { - value = (long)m_precision; - } - return value; -} - wxValidator* wxFloatProperty::GetClassValidator() {