From 192a61b391ec61538bb81cbfacb9a7a98870834c Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Wed, 27 May 2015 19:43:23 +0200 Subject: [PATCH] Add wxABI_VERSION guard around wxFloatProperty::DoGetAttribute virtual method body. To prevent compilation errors (when wxABI_VERSION < 30003) also the body of newly overridden method needs to be guarded by wxABI_VERSION. (See 7b25b65a2f735d383560d684bbcc9c58c6a4157f). --- src/propgrid/props.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/propgrid/props.cpp b/src/propgrid/props.cpp index 8a0f44e802..a1a9f4188a 100644 --- a/src/propgrid/props.cpp +++ b/src/propgrid/props.cpp @@ -931,6 +931,7 @@ bool wxFloatProperty::DoSetAttribute( const wxString& name, wxVariant& value ) return false; } +#if wxABI_VERSION >= 30003 wxVariant wxFloatProperty::DoGetAttribute( const wxString& name ) const { wxVariant value; @@ -940,6 +941,7 @@ wxVariant wxFloatProperty::DoGetAttribute( const wxString& name ) const } return value; } +#endif // wxABI_VERSION >= 30003 wxValidator* wxFloatProperty::GetClassValidator()