mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX:clear wxwidgets asset
jira: nojia Change-Id: I8ba2849afa07bc162a55b326c3d9a45150243ac3 (cherry picked from commit 96ba14c86d3cf180eeb585185d31bcb5d5db7415)
This commit is contained in:
@@ -1034,6 +1034,8 @@ wxSize ScalableBitmap::GetBmpSize(const wxBitmap &bmp)
|
||||
|
||||
int ScalableBitmap::GetBmpWidth() const
|
||||
{
|
||||
if (!m_bmp.IsOk())
|
||||
return 0;
|
||||
#ifdef __APPLE__
|
||||
return m_bmp.GetScaledWidth();
|
||||
#else
|
||||
@@ -1043,6 +1045,8 @@ int ScalableBitmap::GetBmpWidth() const
|
||||
|
||||
int ScalableBitmap::GetBmpHeight() const
|
||||
{
|
||||
if (!m_bmp.IsOk())
|
||||
return 0;
|
||||
#ifdef __APPLE__
|
||||
return m_bmp.GetScaledHeight();
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user