From: Václav Slavík Date: Sun, 8 Aug 1999 15:53:30 +0000 (+0000) Subject: m_Style was bool by mistake, fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/60811dc6ccaac78a74aa014f0db78d179fe2f533 m_Style was bool by mistake, fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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); }