Turns out only MSW has odd behavior for bitmap sizing

This commit is contained in:
Jon Evans
2023-06-09 08:58:52 -04:00
parent 9c1fac3e21
commit 4e6092a280
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ void STD_BITMAP_BUTTON::SetBitmap( const wxBitmapBundle& aBmp )
{
m_bitmap = aBmp;
#ifdef __WXMAC__
#ifndef __WXMSW__
wxSize size = m_bitmap.GetDefaultSize();
#else
wxSize size = m_bitmap.GetPreferredBitmapSizeFor( this );