projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
987e941
)
Documentation states scrollbars (plural) are switched off by wxHW_SCROLLBAR_NEVER,
author
Julian Smart
<julian@anthemion.co.uk>
Wed, 17 May 2006 16:32:11 +0000
(16:32 +0000)
committer
Julian Smart
<julian@anthemion.co.uk>
Wed, 17 May 2006 16:32:11 +0000
(16:32 +0000)
so make sure this is true, even if the layout erroneously wants to create
a horizontal scrollbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39189
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/html/htmlwin.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/html/htmlwin.cpp
b/src/html/htmlwin.cpp
index 26a6420d9d9d5578f4c4c15cf6ffbcff5327113b..9a081b30f758cc8f6db301fc093f13f7f971c3c0 100644
(file)
--- a/
src/html/htmlwin.cpp
+++ b/
src/html/htmlwin.cpp
@@
-640,7
+640,7
@@
void wxHtmlWindow::CreateLayout()
if (m_Style & wxHW_SCROLLBAR_NEVER)
{
- SetScrollbars(
wxHTML_SCROLL_STEP, 1, m_Cell->GetWidth() / wxHTML_SCROLL_STEP
, 0); // always off
+ SetScrollbars(
1, 1, 0
, 0); // always off
GetClientSize(&ClientWidth, &ClientHeight);
m_Cell->Layout(ClientWidth);
}