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
This commit is contained in:
Václav Slavík 2000-01-23 01:02:09 +00:00
parent 1d910ac1fc
commit 2faa3a6b3f

View File

@ -28,9 +28,6 @@
#include "wx/html/htmlwin.h"
#include "wx/html/forcelnk.h"
#ifdef __WXMSW__
#include <windows.h>
#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);