Remove redundant wxStaticBitmap::m_isIcon assignment

No need to set m_isIcon before overwriting it just 2 lines below.
This commit is contained in:
Vadim Zeitlin 2019-05-16 22:22:37 +02:00
parent 8a1e679640
commit f69c3c203e

View File

@ -104,8 +104,6 @@ bool wxStaticBitmap::Create(wxWindow *parent,
// we may have either bitmap or icon: if a bitmap with mask is passed, we
// will transform it to an icon ourselves because otherwise the mask will
// be ignored by Windows
m_isIcon = bitmap.IsKindOf(wxCLASSINFO(wxIcon));
wxGDIImage *image = ConvertImage( bitmap );
m_isIcon = image->IsKindOf( wxCLASSINFO(wxIcon) );