X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66e23ad2081689dad6e829b9667cdbc93ac45154..09b7e6184a08a6d7df8244fd5a0e97177fbe41cf:/src/msw/bitmap.cpp 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;