diff --git a/src/msw/statbmp.cpp b/src/msw/statbmp.cpp index 2a0ad74624..32a4a41c8e 100644 --- a/src/msw/statbmp.cpp +++ b/src/msw/statbmp.cpp @@ -329,8 +329,6 @@ void wxStaticBitmap::SetImageNoCopy( wxGDIImage* image) MSWReplaceImageHandle((WXLPARAM)handle); - DeleteCurrentHandleIfNeeded(); - m_currentHandle = (WXHANDLE)handle; m_ownsCurrentHandle = handle != handleOrig;