revert wxwidgets control pool

This commit is contained in:
SoftFever 2024-05-05 13:38:37 +08:00
parent c2f5660afd
commit d72c9f923a
7 changed files with 28 additions and 158 deletions

View file

@ -102,14 +102,6 @@ void TextInput::SetIcon(const wxBitmap &icon)
Rescale();
}
void TextInput::SetIcon(const wxString &icon)
{
if (this->icon.name() == icon.ToStdString())
return;
this->icon = ScalableBitmap(this, icon.ToStdString(), 16);
Rescale();
}
void TextInput::SetLabelColor(StateColor const &color)
{
label_color = color;