mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-11 16:00:17 -07:00
update dc.DrawBitmap calls to use get_bitmap
This commit is contained in:
parent
e114881ed5
commit
cdff9ba9fa
22 changed files with 75 additions and 75 deletions
|
|
@ -212,7 +212,7 @@ void AxisCtrlButton::render(wxDC& dc)
|
|||
gc->DrawPath(home_path);
|
||||
|
||||
if (m_icon.bmp().IsOk()) {
|
||||
gc->DrawBitmap(m_icon.bmp(), -1 * m_icon.GetBmpWidth() / 2, -1 * m_icon.GetBmpHeight() / 2, m_icon.GetBmpWidth(), m_icon.GetBmpHeight());
|
||||
gc->DrawBitmap(m_icon.get_bitmap(), -1 * m_icon.GetBmpWidth() / 2, -1 * m_icon.GetBmpHeight() / 2, m_icon.GetBmpWidth(), m_icon.GetBmpHeight());
|
||||
}
|
||||
gc->PopState();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue