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:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user