X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d0b1695e01f1572540e79cbb7bd360c1f2d5979..cb751f46a0db6efd12b1e8f9d1074e71b6249253:/src/mac/carbon/bitmap.cpp diff --git a/src/mac/carbon/bitmap.cpp b/src/mac/carbon/bitmap.cpp index 7fd7536644..9608e346ef 100644 --- a/src/mac/carbon/bitmap.cpp +++ b/src/mac/carbon/bitmap.cpp @@ -565,8 +565,9 @@ IconRef wxBitmapRefData::GetIconRef() HLock((Handle) iconFamily); OSStatus err = GetIconRefFromIconFamilyPtr( *iconFamily, GetHandleSize((Handle) iconFamily), &m_iconRef ); HUnlock((Handle) iconFamily); - wxASSERT_MSG( err == noErr , wxT("Error when constructing icon ref") ); DisposeHandle( (Handle) iconFamily ) ; + + wxCHECK_MSG( err == noErr, NULL, wxT("Error when constructing icon ref") ); } return m_iconRef ; @@ -1614,12 +1615,6 @@ WXHBITMAP wxMask::GetHBITMAP() const return m_maskBitmap ; } -// ---------------------------------------------------------------------------- -// wxBitmapHandler -// ---------------------------------------------------------------------------- - -IMPLEMENT_ABSTRACT_CLASS(wxBitmapHandler, wxBitmapHandlerBase) - // ---------------------------------------------------------------------------- // Standard Handlers // ----------------------------------------------------------------------------