removed a TODO comments, it actually doesn't seem necessary to optimize the use of MM_ANISOTROPIC

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-04-13 01:29:43 +00:00
parent bd0812feea
commit 9effb77dbc

View File

@@ -1909,9 +1909,9 @@ bool wxMSWDCImpl::DoGetPartialTextExtents(const wxString& text, wxArrayInt& widt
void wxMSWDCImpl::RealizeScaleAndOrigin() void wxMSWDCImpl::RealizeScaleAndOrigin()
{ {
// VZ: it seems very wasteful to always use MM_ANISOTROPIC when in 99% of // although it may seem wasteful to always use MM_ANISOTROPIC here instead
// cases we could do with MM_TEXT and in the remaining 0.9% with // of using MM_TEXT if there is no scaling, benchmarking doesn't detect any
// MM_ISOTROPIC (TODO!) // noticeable difference between these mapping modes
#ifndef __WXWINCE__ #ifndef __WXWINCE__
::SetMapMode(GetHdc(), MM_ANISOTROPIC); ::SetMapMode(GetHdc(), MM_ANISOTROPIC);