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:
@@ -28,9 +28,6 @@
|
|||||||
#include "wx/html/htmlwin.h"
|
#include "wx/html/htmlwin.h"
|
||||||
#include "wx/html/forcelnk.h"
|
#include "wx/html/forcelnk.h"
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
|
||||||
#include <windows.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// wxHtmlWindow
|
// wxHtmlWindow
|
||||||
@@ -436,8 +433,12 @@ void wxHtmlWindow::OnDraw(wxDC& dc)
|
|||||||
|
|
||||||
if (m_tmpCanDrawLocks > 0) return;
|
if (m_tmpCanDrawLocks > 0) return;
|
||||||
dc.SetMapMode(wxMM_TEXT);
|
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)
|
#if defined(_MSC_VER) && (_MSC_VER == 1200)
|
||||||
::SetMapMode((HDC)dc.GetHDC(), MM_TEXT);
|
::SetMapMode((HDC)dc.GetHDC(), MM_TEXT);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
dc.SetBackgroundMode(wxTRANSPARENT);
|
dc.SetBackgroundMode(wxTRANSPARENT);
|
||||||
ViewStart(&x, &y);
|
ViewStart(&x, &y);
|
||||||
|
Reference in New Issue
Block a user