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