summaryrefslogtreecommitdiff
path: root/vcl/source/control/ilstbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/ilstbox.cxx')
-rw-r--r--vcl/source/control/ilstbox.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index ae3a58f514a6..0c7aef3e91d4 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -2077,6 +2077,11 @@ void ImplListBoxWindow::StateChanged( StateChangedType nType )
ImplInitSettings( false, false, true );
Invalidate();
}
+ else if( nType == STATE_CHANGE_ENABLE )
+ {
+ Invalidate();
+ }
+
ImplClearLayoutData();
}
@@ -2426,6 +2431,8 @@ void ImplListBox::StateChanged( StateChangedType nType )
mpHScrollBar->Enable( IsEnabled() );
mpVScrollBar->Enable( IsEnabled() );
mpScrollBarBox->Enable( IsEnabled() );
+ maLBWindow.Enable( IsEnabled() );
+
Invalidate();
}
else if ( nType == STATE_CHANGE_ZOOM )