FIX:use scalablebitmap replace wxbitmap

Change-Id: I4ca885051f309be4a7d9a6e08de097fe75847257
This commit is contained in:
tao wang 2022-07-27 17:40:07 +08:00 committed by Lane.Wei
parent 00ba515783
commit 9fc010512c
22 changed files with 187 additions and 186 deletions

View file

@ -9,7 +9,7 @@ class TabButton : public StaticBox
wxSize textSize;
wxSize minSize;
wxSize paddingSize;
wxBitmap icon;
ScalableBitmap icon;
StateColor text_color;
StateColor border_color;
@ -18,9 +18,9 @@ class TabButton : public StaticBox
public:
TabButton();
TabButton(wxWindow *parent, wxString text, wxBitmap &icon, long style = 0, int iconSize = 0);
TabButton(wxWindow *parent, wxString text, ScalableBitmap &icon, long style = 0, int iconSize = 0);
bool Create(wxWindow *parent, wxString text, wxBitmap &icon, long style = 0, int iconSize = 0);
bool Create(wxWindow *parent, wxString text, ScalableBitmap &icon, long style = 0, int iconSize = 0);
void SetLabel(const wxString& label) override;
@ -34,7 +34,7 @@ public:
void SetBGColor(StateColor const &color);
void SetBitmap(wxBitmap &bitmap);
void SetBitmap(ScalableBitmap &bitmap);
bool Enable(bool enable = true);