Fix STD_BITMAP_BUTTON for GTK HiDPI
This commit is contained in:
parent
753cc6679b
commit
d996ec143f
|
@ -211,7 +211,7 @@ void STD_BITMAP_BUTTON::OnPaint( wxPaintEvent& WXUNUSED( aEvent ) )
|
||||||
|
|
||||||
if( m_bitmap.IsOk() )
|
if( m_bitmap.IsOk() )
|
||||||
{
|
{
|
||||||
#ifdef __WXMAC__
|
#ifndef __WXMSW__
|
||||||
wxSize bmpSize = m_bitmap.GetDefaultSize();
|
wxSize bmpSize = m_bitmap.GetDefaultSize();
|
||||||
#else
|
#else
|
||||||
wxSize bmpSize = m_bitmap.GetPreferredBitmapSizeFor( this );
|
wxSize bmpSize = m_bitmap.GetPreferredBitmapSizeFor( this );
|
||||||
|
|
Loading…
Reference in New Issue