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

@ -25,7 +25,7 @@ class AxisCtrlButton : public wxWindow
StateColor background_color;
StateColor inner_background_color;
wxBitmap m_icon;
ScalableBitmap m_icon;
bool pressedDown = false;
@ -45,7 +45,7 @@ class AxisCtrlButton : public wxWindow
};
public:
AxisCtrlButton(wxWindow *parent, wxBitmap &icon, long style = 0);
AxisCtrlButton(wxWindow *parent, ScalableBitmap &icon, long style = 0);
void SetMinSize(const wxSize& size) override;
@ -57,7 +57,7 @@ public:
void SetInnerBackgroundColor(StateColor const& color);
void SetBitmap(wxBitmap &bmp);
void SetBitmap(ScalableBitmap &bmp);
void Rescale();