summaryrefslogtreecommitdiff
path: root/svtools/source/contnr/svtreebx.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2006-05-04 13:25:12 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2006-05-04 13:25:12 +0000
commitb9a295b06551f8d7d8997488d44ffe4334f901a2 (patch)
tree06e5ed8f34fe0043fb431f39d09e85307f637c96 /svtools/source/contnr/svtreebx.cxx
parented6f0b20a6c0d38cef08e42305a0f7cf19bd1bc0 (diff)
INTEGRATION: CWS pb15 (1.43.8); FILE MERGED
2006/04/18 06:59:32 pb 1.43.8.1: fix: #i45473# EnableList() added
Diffstat (limited to 'svtools/source/contnr/svtreebx.cxx')
-rw-r--r--svtools/source/contnr/svtreebx.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/svtools/source/contnr/svtreebx.cxx b/svtools/source/contnr/svtreebx.cxx
index cbcdedbc4216..59fc382d1360 100644
--- a/svtools/source/contnr/svtreebx.cxx
+++ b/svtools/source/contnr/svtreebx.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: svtreebx.cxx,v $
*
- * $Revision: 1.43 $
+ * $Revision: 1.44 $
*
- * last change: $Author: obo $ $Date: 2006-03-29 08:38:28 $
+ * last change: $Author: rt $ $Date: 2006-05-04 14:25:12 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -2557,6 +2557,14 @@ BOOL SvTreeListBox::IsContextMenuHandlingEnabled( void ) const
return pImp->bContextMenuHandling;
}
+void SvTreeListBox::EnableList( bool _bEnable )
+{
+ // call base class method
+ Window::Enable( _bEnable != false );
+ // then paint immediately
+ Paint( Rectangle( Point(), GetSizePixel() ) );
+}
+
::com::sun::star::uno::Reference< XAccessible > SvTreeListBox::CreateAccessible()
{
Window* pParent = GetAccessibleParentWindow();