mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
revert wxwidgets control pool
This commit is contained in:
parent
c2f5660afd
commit
d72c9f923a
7 changed files with 28 additions and 158 deletions
|
@ -165,7 +165,6 @@ int ComboBox::Append(const wxString &item,
|
|||
|
||||
void ComboBox::DoClear()
|
||||
{
|
||||
SetIcon("drop_down");
|
||||
texts.clear();
|
||||
tips.clear();
|
||||
icons.clear();
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -42,8 +42,6 @@ public:
|
|||
|
||||
void SetIcon(const wxBitmap & icon);
|
||||
|
||||
void SetIcon(const wxString & icon);
|
||||
|
||||
void SetLabelColor(StateColor const &color);
|
||||
|
||||
void SetTextColor(StateColor const &color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue