git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53153
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxMSWDCImpl::RealizeScaleAndOrigin()
{
void wxMSWDCImpl::RealizeScaleAndOrigin()
{
- // VZ: it seems very wasteful to always use MM_ANISOTROPIC when in 99% of
- // cases we could do with MM_TEXT and in the remaining 0.9% with
- // MM_ISOTROPIC (TODO!)
+ // although it may seem wasteful to always use MM_ANISOTROPIC here instead
+ // of using MM_TEXT if there is no scaling, benchmarking doesn't detect any
+ // noticeable difference between these mapping modes
#ifndef __WXWINCE__
::SetMapMode(GetHdc(), MM_ANISOTROPIC);
#ifndef __WXWINCE__
::SetMapMode(GetHdc(), MM_ANISOTROPIC);