diff --git a/docs/changes.txt b/docs/changes.txt index 17d8b0766d..3afa22464b 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -228,6 +228,7 @@ wxOSX: - Implement wxTextCtrl::ShowPosition(). - Add support for wxTE_NO_VSCROLL style to wxTextCtrl. - Add support for wxTE_CHARWRAP style to wxTextCtrl. +- Fix selecting RGB bitmaps (with no alpha channel) into wxMemoryDC. Unix: diff --git a/src/osx/core/dcmemory.cpp b/src/osx/core/dcmemory.cpp index aeb700ddff..4d66d1cef9 100644 --- a/src/osx/core/dcmemory.cpp +++ b/src/osx/core/dcmemory.cpp @@ -72,8 +72,6 @@ void wxMemoryDCImpl::DoSelect( const wxBitmap& bitmap ) m_selected = bitmap; if (m_selected.IsOk()) { - if ( m_selected.GetDepth() != 1 ) - m_selected.UseAlpha() ; m_selected.BeginRawAccess() ; m_width = bitmap.GetScaledWidth(); m_height = bitmap.GetScaledHeight();