mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 11:47:54 -06:00
FIX:use scalablebitmap replace wxbitmap
Change-Id: I4ca885051f309be4a7d9a6e08de097fe75847257
This commit is contained in:
parent
00ba515783
commit
9fc010512c
22 changed files with 187 additions and 186 deletions
|
@ -38,7 +38,7 @@ TabButtonsListCtrl::TabButtonsListCtrl(wxWindow *parent, wxBoxSizer *side_tools)
|
|||
m_btn_margin = 0;
|
||||
m_line_margin = std::lround(0.1 * em);
|
||||
|
||||
m_arrow_img = create_scaled_bitmap("monitor_arrow", nullptr, 14);
|
||||
m_arrow_img = ScalableBitmap(this, "monitor_arrow", 14);
|
||||
|
||||
m_sizer = new wxBoxSizer(wxVERTICAL);
|
||||
this->SetSizer(m_sizer);
|
||||
|
@ -87,7 +87,7 @@ void TabButtonsListCtrl::OnPaint(wxPaintEvent &)
|
|||
|
||||
void TabButtonsListCtrl::Rescale()
|
||||
{
|
||||
m_arrow_img = create_scaled_bitmap("monitor_arrow", nullptr, 14);
|
||||
m_arrow_img = ScalableBitmap(this, "monitor_arrow", 14);
|
||||
|
||||
int em = em_unit(this);
|
||||
for (TabButton *btn : m_pageButtons) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue