#include "wx/html/forcelnk.h"
-
//-----------------------------------------------------------------------------
// wxHtmlWindow
//-----------------------------------------------------------------------------
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);
switch (event.KeyCode()) {
case WXK_PAGEUP :
- case WXK_PRIOR :
- Scroll(-1, sty - cliy);
+ case WXK_PRIOR :
+ Scroll(-1, sty - (2 * cliy / 3));
break;
case WXK_PAGEDOWN :
- case WXK_NEXT :
- Scroll(-1, sty + cliy);
+ case WXK_NEXT :
+ Scroll(-1, sty + (2 * cliy / 3));
break;
case WXK_HOME :
Scroll(-1, 0);