From 60811dc6ccaac78a74aa014f0db78d179fe2f533 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 8 Aug 1999 15:53:30 +0000 Subject: [PATCH] m_Style was bool by mistake, fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/html/htmlwin.h | 2 +- src/html/htmlwin.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/html/htmlwin.h b/include/wx/html/htmlwin.h index 657ee2348d..89117cec8c 100644 --- a/include/wx/html/htmlwin.h +++ b/include/wx/html/htmlwin.h @@ -93,7 +93,7 @@ class WXDLLEXPORT wxHtmlWindow : public wxScrolledWindow // borders (free space between text and window borders) // defaults to 10 pixels. - bool m_Style; + int m_Style; private: diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index b3afd179dc..a149ca56cb 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -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); } -- 2.45.2