1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Warnings: Add missing overrides

This commit is contained in:
reuk 2024-01-24 12:00:28 +00:00
parent 6c32c4df87
commit 047448fbce
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
84 changed files with 630 additions and 627 deletions

View file

@ -233,23 +233,23 @@ public:
document.addChangeListener (this);
}
~ButtonStatePaintEnabledProperty()
~ButtonStatePaintEnabledProperty() override
{
document.removeChangeListener (this);
}
void setState (bool newState)
void setState (bool newState) override
{
document.setStatePaintRoutineEnabled (stateMethod, newState);
}
bool getState() const
bool getState() const override
{
return document.isStatePaintRoutineEnabled (stateMethod);
}
private:
void changeListenerCallback (ChangeBroadcaster*)
void changeListenerCallback (ChangeBroadcaster*) override
{
refresh();
}