Fix STD_BITMAP_BUTTON for GTK HiDPI

This commit is contained in:
Jon Evans 2023-06-14 23:14:07 -04:00
parent 753cc6679b
commit d996ec143f
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ void STD_BITMAP_BUTTON::OnPaint( wxPaintEvent& WXUNUSED( aEvent ) )
if( m_bitmap.IsOk() )
{
#ifdef __WXMAC__
#ifndef __WXMSW__
wxSize bmpSize = m_bitmap.GetDefaultSize();
#else
wxSize bmpSize = m_bitmap.GetPreferredBitmapSizeFor( this );