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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user