1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00

Minor fixes for Value components.

This commit is contained in:
Julian Storer 2010-01-15 20:54:57 +00:00
parent e73a0fb874
commit 38bd05de16
3 changed files with 8 additions and 2 deletions

View file

@ -46,7 +46,9 @@ BooleanPropertyComponent::BooleanPropertyComponent (const String& name,
BooleanPropertyComponent::BooleanPropertyComponent (const Value& valueToControl,
const String& name,
const String& buttonText)
: PropertyComponent (name)
: PropertyComponent (name),
onText (buttonText),
offText (buttonText)
{
createButton();
button->setButtonText (buttonText);