From cdb4867b130781fe50ab981889b64cefa5b492e6 Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Thu, 30 Jul 2015 13:57:20 +0200 Subject: 'Wait' cursor while expanding a tree node Change-Id: Iad79fa16bc4c7f7086d2adca6ea417f6e1959e61 --- svtools/source/contnr/foldertree.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/svtools/source/contnr/foldertree.cxx b/svtools/source/contnr/foldertree.cxx index f783a5bd0e28..2f1d7fb2417e 100644 --- a/svtools/source/contnr/foldertree.cxx +++ b/svtools/source/contnr/foldertree.cxx @@ -27,7 +27,14 @@ FolderTree::FolderTree( vcl::Window* pParent, WinBits nBits ) void FolderTree::RequestingChildren( SvTreeListEntry* pEntry ) { + EnableChildPointerOverwrite( true ); + SetPointer( PointerStyle::Wait ); + Invalidate(InvalidateFlags::Update); + FillTreeEntry( pEntry ); + + SetPointer( PointerStyle::Arrow ); + EnableChildPointerOverwrite( false ); } void FolderTree::FillTreeEntry( SvTreeListEntry* pEntry ) -- cgit