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
This commit is contained in:
Vadim Zeitlin 2014-04-08 21:38:09 +00:00
parent 8ecd1a8b95
commit fc014a6f19
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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();
}