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:
parent
6c32c4df87
commit
047448fbce
84 changed files with 630 additions and 627 deletions
|
|
@ -102,13 +102,13 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
void setState (bool newState)
|
||||
void setState (bool newState) override
|
||||
{
|
||||
document.perform (new ToggleStateChangeAction (component, *document.getComponentLayout(), newState),
|
||||
"Change ToggleButton state");
|
||||
}
|
||||
|
||||
bool getState() const
|
||||
bool getState() const override
|
||||
{
|
||||
return component->getToggleState();
|
||||
}
|
||||
|
|
@ -124,7 +124,7 @@ private:
|
|||
oldState = comp->getToggleState();
|
||||
}
|
||||
|
||||
bool perform()
|
||||
bool perform() override
|
||||
{
|
||||
showCorrectTab();
|
||||
getComponent()->setToggleState (newState, dontSendNotification);
|
||||
|
|
@ -132,7 +132,7 @@ private:
|
|||
return true;
|
||||
}
|
||||
|
||||
bool undo()
|
||||
bool undo() override
|
||||
{
|
||||
showCorrectTab();
|
||||
getComponent()->setToggleState (oldState, dontSendNotification);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue