#endif
#include "wx/dcmemory.h"
+#include "wx/mac/private.h"
//-----------------------------------------------------------------------------
// wxMemoryDC
{
if ( m_selected.Ok() )
{
- UnlockPixels( GetGWorldPixMap(m_selected.GetHBITMAP()) );
+ UnlockPixels( GetGWorldPixMap(MAC_WXHBITMAP(m_selected.GetHBITMAP())) );
}
};
{
if ( m_selected.Ok() )
{
- UnlockPixels( GetGWorldPixMap(m_selected.GetHBITMAP()) );
+ UnlockPixels( GetGWorldPixMap(MAC_WXHBITMAP(m_selected.GetHBITMAP())) );
}
m_selected = bitmap;
if (m_selected.Ok())
{
m_macMask = mask->GetMaskBitmap() ;
}
+ SetRectRgn( (RgnHandle) m_macBoundaryClipRgn , 0 , 0 , m_selected.GetWidth() , m_selected.GetHeight() ) ;
+ CopyRgn( (RgnHandle) m_macBoundaryClipRgn ,(RgnHandle) m_macCurrentClipRgn ) ;
m_ok = TRUE ;
}
else