FIX:clear wxwidgets asset

jira: nojia
Change-Id: I8ba2849afa07bc162a55b326c3d9a45150243ac3
(cherry picked from commit 96ba14c86d3cf180eeb585185d31bcb5d5db7415)
This commit is contained in:
yongfang.bian authored and Noisyfox committed 2025-09-30 14:34:08 +08:00
1 parent 6c242c5101
commit 2f18d25a2d
8 files changed
+22 -14

No files matched your search

+4
View File
@@ -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