X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66e23ad2081689dad6e829b9667cdbc93ac45154..4e5d213ac0fe96162536900283235c3b59c7e161:/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;