X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3e89a9370cf895877feb84820c26bdc2e6ed588..170acdc90e9f92f8b8120fa6c04acdbf45c89582:/src/gtk/bitmap.cpp diff --git a/src/gtk/bitmap.cpp b/src/gtk/bitmap.cpp index d459bdbce7..37cf202e56 100644 --- a/src/gtk/bitmap.cpp +++ b/src/gtk/bitmap.cpp @@ -708,11 +708,6 @@ wxImage wxBitmap::ConvertToImage() const return image; } -bool wxBitmap::operator == ( const wxBitmap& bmp ) const -{ - return m_refData == bmp.m_refData; -} - bool wxBitmap::IsOk() const { return (m_refData != NULL) && @@ -997,9 +992,6 @@ void wxBitmap::SetPixbuf(GdkPixbuf* pixbuf, int depth) void wxBitmap::PurgeOtherRepresentations(wxBitmap::Representation keep) { - // AllocExclusive should not be needed for this internal function - wxASSERT(m_refData->GetRefCount() == 1); - if (keep == Pixmap && HasPixbuf()) { g_object_unref (M_BMPDATA->m_pixbuf);