From 2faa3a6b3f96fff40d0955400cd77aac41166e60 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 23 Jan 2000 01:02:09 +0000 Subject: [PATCH] removed call to win32 api ::SetMapMode -- hopefully not longer neccessary git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlwin.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index ac2e1d135a..c1af6ac461 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -28,9 +28,6 @@ #include "wx/html/htmlwin.h" #include "wx/html/forcelnk.h" -#ifdef __WXMSW__ -#include -#endif //----------------------------------------------------------------------------- // wxHtmlWindow @@ -436,8 +433,12 @@ 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); ViewStart(&x, &y); -- 2.45.2