]> git.saurik.com Git - wxWidgets.git/commitdiff
removed a TODO comments, it actually doesn't seem necessary to optimize the use of...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Apr 2008 01:29:43 +0000 (01:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Apr 2008 01:29:43 +0000 (01:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/dc.cpp

index 161ec57c367f76407f23d8ec10a2a2a384e4d5e2..5dbd1f291f91988b2b0f943a8f1ee345be93e5d4 100644 (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
-    //     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);