Make wxWindow::HasScrollbar() respect wxScrolled::ShowScrollbars().
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Aug 2013 13:12:38 +0000 (13:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Aug 2013 13:12:38 +0000 (13:12 +0000)
commit029a401d74c00ce86f485fafeda73520d315fb0f
tree01ae76ba62075db755d73d11dfdc332aa1f58148
parent3d777efedc1e05bd6c2a7c34a00a65895b62bb13
Make wxWindow::HasScrollbar() respect wxScrolled::ShowScrollbars().

Override CanScroll() in wxScrolled to return the real state of the scrollbar
instead of just relying on the wx[HV]SCROLL styles.

Closes #15440.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/scrolwin.h
include/wx/gtk/scrolwin.h
include/wx/gtk1/scrolwin.h
include/wx/scrolwin.h
src/generic/scrlwing.cpp
src/gtk/scrolwin.cpp
src/gtk1/scrolwin.cpp