From 689f42f4b47a2c0b1ce6ee31f474498fa291366c Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 17 May 2006 16:32:11 +0000 Subject: [PATCH] Documentation states scrollbars (plural) are switched off by wxHW_SCROLLBAR_NEVER, so make sure this is true, even if the layout erroneously wants to create a horizontal scrollbar. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlwin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index 26a6420d9d..9a081b30f7 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -640,7 +640,7 @@ void wxHtmlWindow::CreateLayout() if (m_Style & wxHW_SCROLLBAR_NEVER) { - SetScrollbars(wxHTML_SCROLL_STEP, 1, m_Cell->GetWidth() / wxHTML_SCROLL_STEP, 0); // always off + SetScrollbars(1, 1, 0, 0); // always off GetClientSize(&ClientWidth, &ClientHeight); m_Cell->Layout(ClientWidth); } -- 2.50.0