From 0fe2a88852a50b3422a3144b650c812f53bad8e1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 4 Oct 2012 23:24:05 +0000 Subject: [PATCH] Document wxHSCROLL and wxVSCROLL styles for wxScrolled<>. Explain that by default both styles are assumed but that using just one of them disables the scrolling in the other direction. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/scrolwin.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/interface/wx/scrolwin.h b/interface/wx/scrolwin.h index 2ddfe65021..3d3f8f4717 100644 --- a/interface/wx/scrolwin.h +++ b/interface/wx/scrolwin.h @@ -99,6 +99,16 @@ enum wxScrollbarVisibility of (10,-90). @beginStyleTable + @style{wxHSCROLL} + If this style is specified and ::wxVSCROLL isn't, the window will be + scrollable only in horizontal direction (by default, i.e. if neither + this style nor ::wxVSCROLL is specified, it scrolls in both + directions). + @style{wxVSCROLL} + If this style is specified and ::wxHSCROLL isn't, the window will be + scrollable only in vertical direction (by default, i.e. if neither + this style nor ::wxHSCROLL is specified, it scrolls in both + directions). @style{wxRETAINED} Uses a backing pixmap to speed refreshes. Motif only. @endStyleTable -- 2.47.2