m_Style was bool by mistake, fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -249,6 +249,7 @@ void wxHtmlWindow::CreateLayout()
|
||||
if (!m_Cell) return;
|
||||
|
||||
if (m_Style == wxHW_SCROLLBAR_NEVER) {
|
||||
SetScrollbars(1, 1, 0, 0); // always off
|
||||
GetClientSize(&ClientWidth, &ClientHeight);
|
||||
m_Cell -> Layout(ClientWidth);
|
||||
}
|
||||
|
Reference in New Issue
Block a user