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 7b25b65a2f).
This commit is contained in:
Artur Wieczorek
2015-05-27 19:43:23 +02:00
parent 7b25b65a2f
commit 192a61b391

View File

@@ -931,6 +931,7 @@ bool wxFloatProperty::DoSetAttribute( const wxString& name, wxVariant& value )
return false; return false;
} }
#if wxABI_VERSION >= 30003
wxVariant wxFloatProperty::DoGetAttribute( const wxString& name ) const wxVariant wxFloatProperty::DoGetAttribute( const wxString& name ) const
{ {
wxVariant value; wxVariant value;
@@ -940,6 +941,7 @@ wxVariant wxFloatProperty::DoGetAttribute( const wxString& name ) const
} }
return value; return value;
} }
#endif // wxABI_VERSION >= 30003
wxValidator* wxValidator*
wxFloatProperty::GetClassValidator() wxFloatProperty::GetClassValidator()