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:
parent
bd0812feea
commit
9effb77dbc
@ -1909,9 +1909,9 @@ bool wxMSWDCImpl::DoGetPartialTextExtents(const wxString& text, wxArrayInt& widt
|
||||
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user