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:
Václav Slavík
1999-08-08 15:53:30 +00:00
parent 2c997ad008
commit 60811dc6cc
2 changed files with 2 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ class WXDLLEXPORT wxHtmlWindow : public wxScrolledWindow
// borders (free space between text and window borders) // borders (free space between text and window borders)
// defaults to 10 pixels. // defaults to 10 pixels.
bool m_Style; int m_Style;
private: private:

View File

@@ -249,6 +249,7 @@ void wxHtmlWindow::CreateLayout()
if (!m_Cell) return; if (!m_Cell) return;
if (m_Style == wxHW_SCROLLBAR_NEVER) { if (m_Style == wxHW_SCROLLBAR_NEVER) {
SetScrollbars(1, 1, 0, 0); // always off
GetClientSize(&ClientWidth, &ClientHeight); GetClientSize(&ClientWidth, &ClientHeight);
m_Cell -> Layout(ClientWidth); m_Cell -> Layout(ClientWidth);
} }