diff --git a/common/widgets/std_bitmap_button.cpp b/common/widgets/std_bitmap_button.cpp index 2006358562..42cee643f5 100644 --- a/common/widgets/std_bitmap_button.cpp +++ b/common/widgets/std_bitmap_button.cpp @@ -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 );