minor fix in wxHtmlWindow::CreateLayout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -259,7 +259,6 @@ void wxHtmlWindow::CreateLayout()
|
||||
SetScrollbars(1, 1, 0, ClientHeight * 2); // always on
|
||||
GetClientSize(&ClientWidth, &ClientHeight);
|
||||
m_Cell -> Layout(ClientWidth);
|
||||
GetClientSize(&ClientWidth, &ClientHeight);
|
||||
if (ClientHeight < m_Cell -> GetHeight()) {
|
||||
SetScrollbars(HTML_SCROLL_STEP, HTML_SCROLL_STEP,
|
||||
m_Cell -> GetWidth() / HTML_SCROLL_STEP,
|
||||
|
Reference in New Issue
Block a user