Remove redundant wxStaticBitmap::m_isIcon assignment
No need to set m_isIcon before overwriting it just 2 lines below.
This commit is contained in:
parent
8a1e679640
commit
f69c3c203e
@ -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) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user