From e8792bc2cfb243e9b33035b4d788fc6be194f91c Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 7 Jan 2009 09:24:50 +0000 Subject: [PATCH] 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 --- src/aui/framemanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index 978b097d13..7bcd189c19 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -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());