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
This commit is contained in:
Julian Smart
2006-05-17 16:32:11 +00:00
parent 987e9419b6
commit 689f42f4b4

View File

@@ -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);
}