Don't use client DC yet for size feedback on Mac/CG or you'll get a smear. Better to have no feedback.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2009-01-07 09:24:50 +00:00
parent 26c1972f27
commit e8792bc2cf

View File

@@ -4019,7 +4019,7 @@ void wxAuiManager::OnLeftUp(wxMouseEvent& event)
// we can get the dreaded _SetDstBlits32BGRA crash (but not in the AUI sample).
// This only helps in non-CG mode - there is zero resize feeedback in CG mode
// at present.
#ifdef __WXMAC__
#if defined(__WXMAC__) && !wxMAC_USE_CORE_GRAPHICS
wxClientDC dc(m_frame);
#else
wxScreenDC dc;
@@ -4299,7 +4299,7 @@ void wxAuiManager::OnMotion(wxMouseEvent& event)
// we can get the dreaded _SetDstBlits32BGRA crash (but not in the AUI sample).
// This only helps in non-CG mode - there is zero resize feeedback in CG mode
// at present.
#ifdef __WXMAC__
#if defined(__WXMAC__) && !wxMAC_USE_CORE_GRAPHICS
wxRect rect(pos,
m_action_part->rect.GetSize());