From fc014a6f194373776b5227e55b45a3c892df3ab3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 8 Apr 2014 21:38:09 +0000 Subject: [PATCH] Don't set wxINTERPOLATION_GOOD quality by default in wxGDIPlusContext. This is inconsistent with wxOSX and also doesn't play well with the existence of wxINTERPOLATION_DEFAULT which is different from wxINTERPOLATION_GOOD. See #14134. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/changes.txt | 3 +++ src/msw/graphics.cpp | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index 84a1af607b..5d4f936039 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -13,6 +13,9 @@ Changes in behaviour not resulting in compilation errors -------------------------------------------------------- - wxRibbonButtonBar::DeleteButton() now deletes and not just removes the button. +- Default interpolation mode in wxGDIPlusContext under MSW is now + wxINTERPOLATION_DEFAULT and not wxINTERPOLATION_GOOD as in 3.0 for + consistency with OS X, call SetInterpolationQuality() explicitly if needed. 3.1.0: (released 2014-xx-xx) diff --git a/src/msw/graphics.cpp b/src/msw/graphics.cpp index e63ddd32b8..3a35d6a25f 100644 --- a/src/msw/graphics.cpp +++ b/src/msw/graphics.cpp @@ -1422,8 +1422,6 @@ void wxGDIPlusContext::Init(Graphics* graphics, int width, int height) m_context->SetPixelOffsetMode(PixelOffsetModeHalf); m_context->SetSmoothingMode(SmoothingModeHighQuality); - SetInterpolationQuality(wxINTERPOLATION_GOOD); - m_state1 = m_context->Save(); m_state2 = m_context->Save(); }