diff --git a/src/msw/bitmap.cpp b/src/msw/bitmap.cpp index 79b21b8e87..4c21494fcb 100644 --- a/src/msw/bitmap.cpp +++ b/src/msw/bitmap.cpp @@ -294,9 +294,6 @@ bool wxBitmap::CreateFromXpm(const char **data) wxCHECK_MSG( img.Ok(), FALSE, wxT("invalid bitmap data") ) *this = wxBitmap(img); - - if ( wxTheBitmapList ) wxTheBitmapList->AddBitmap(this); - return TRUE; #else return FALSE;