From e74e04d656c3b8417f3ce4274b7aa42f6645e17f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Tue, 12 Jan 2010 22:09:15 +0000 Subject: [PATCH] Added TODO note about making sure that B_FRAWE_EVENTS is part of the flags as soon as a scroll view is controlling the list view. Otherwise scroll bars are not updated if FrameEvents() is not called. I can imagine problems, though, if an application did not set B_FRAWE_EVENTS on purpose and is controlling the scroll bars itself. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35035 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/ListView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/kits/interface/ListView.cpp b/src/kits/interface/ListView.cpp index faa653e7d3..9ac83a894d 100644 --- a/src/kits/interface/ListView.cpp +++ b/src/kits/interface/ListView.cpp @@ -256,6 +256,9 @@ void BListView::TargetedByScrollView(BScrollView *view) { fScrollView = view; + // TODO: We could SetFlags(Flags() | B_FRAME_EVENTS) here, but that + // may mess up application code which manages this by some other means + // and doesn't want us to be messing with flags. }