]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlwin.cpp
comment clarification
[wxWidgets.git] / src / html / htmlwin.cpp
index 1eb0d2a16678f8647fb39daa074bd06b98ed85b9..d80cb51617deb3705265a09e122086261c688537 100644 (file)
@@ -636,13 +636,6 @@ void wxHtmlWindow::OnDraw(wxDC& dc)
     if (m_tmpCanDrawLocks > 0) return;
 
     dc.SetMapMode(wxMM_TEXT);
-#if 0
-/* VS - I don't think this is neccessary any longer
-        MSC_VER 1200 means MSVC 6.0 and it works fine */
-#if defined(_MSC_VER) && (_MSC_VER == 1200)
-    ::SetMapMode((HDC)dc.GetHDC(), MM_TEXT);
-#endif
-#endif
     dc.SetBackgroundMode(wxTRANSPARENT);
     GetViewStart(&x, &y);
 
@@ -686,6 +679,8 @@ void wxHtmlWindow::OnMouseEvent(wxMouseEvent& event)
             wxHtmlCell *cell = m_Cell->FindCellByPos(pos.x, pos.y);
 
             // VZ: is it possible that we don't find anything at all?
+            // VS: yes. FindCellByPos returns terminal cell and
+            //     containers may have empty borders
             if ( cell )
                 OnCellClicked(cell, pos.x, pos.y, event);
         }