update dc.DrawBitmap calls to use get_bitmap

This commit is contained in:
Ocraftyone 2023-11-07 05:15:09 -05:00
parent e114881ed5
commit cdff9ba9fa
No known key found for this signature in database
GPG key ID: 85836ED21AD4D125
22 changed files with 75 additions and 75 deletions

View file

@ -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();