refactor: remove Button::textSupplier

This commit is contained in:
MihailRis 2025-06-26 22:56:51 +03:00
parent e648703f7c
commit c8f8f66a07
2 changed files with 0 additions and 9 deletions

View File

@ -69,13 +69,6 @@ std::wstring Button::getText() const {
return L"";
}
Button* Button::textSupplier(wstringsupplier supplier) {
if (label) {
label->textSupplier(std::move(supplier));
}
return this;
}
void Button::refresh() {
Panel::refresh();
if (label) {

View File

@ -33,8 +33,6 @@ namespace gui {
virtual void setText(std::wstring text);
virtual std::wstring getText() const;
virtual Button* textSupplier(wstringsupplier supplier);
virtual void refresh() override;
};
}