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
|
|
@ -31,7 +31,7 @@ void AboutDialogLogo::onRepaint(wxEvent &event)
|
|||
wxSize size = this->GetSize();
|
||||
int logo_w = this->logo.GetBmpWidth();
|
||||
int logo_h = this->logo.GetBmpHeight();
|
||||
dc.DrawBitmap(this->logo.bmp(), (size.GetWidth() - logo_w)/2, (size.GetHeight() - logo_h)/2, true);
|
||||
dc.DrawBitmap(this->logo.get_bitmap(), (size.GetWidth() - logo_w)/2, (size.GetHeight() - logo_h)/2, true);
|
||||
|
||||
event.Skip();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue