Allow using higher resolution bitmaps in bitmap buttons on GTK.

This commit is contained in:
Alex Shvartzkop 2024-05-26 09:23:43 +03:00
parent 72bd0c583f
commit 296630d484
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ void BITMAP_BUTTON::OnPaint( wxPaintEvent& aEvent )
}
else if( bmp.IsOk() )
{
bmpImg = bmp.GetBitmap( m_unadjustedMinSize );
bmpImg = bmp.GetBitmap( ToPhys( m_unadjustedMinSize ) );
bmSize = bmpImg.GetSize();
}