Merge pull request #512 from denizzzka/fix_510

fix for #510
This commit is contained in:
Vadim Lopatin 2017-11-10 09:53:08 +03:00 committed by GitHub
commit 90f5a83618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 9 deletions

View File

@ -570,17 +570,11 @@ public:
@property FontRef font() const { return stateStyle.font; } @property FontRef font() const { return stateStyle.font; }
/// returns widget content text (override to support this) /// returns widget content text (override to support this)
@property dstring text() const { @property dstring text() const { return ""; }
assert(false, __FUNCTION__~" isn't implemented");
}
/// sets widget content text (override to support this) /// sets widget content text (override to support this)
@property Widget text(dstring s) { @property Widget text(dstring s) { return this; }
assert(false, __FUNCTION__~" isn't implemented");
}
/// sets widget content text (override to support this) /// sets widget content text (override to support this)
@property Widget text(UIString s) { @property Widget text(UIString s) { return this; }
assert(false, __FUNCTION__~" isn't implemented");
}
/// override to handle font changes /// override to handle font changes
protected void handleFontChanged() {} protected void handleFontChanged() {}